I'm writing this post to shed some light on poorly documented Graph API properties and connections. All comments are welcome and I'll try to update this blog entry with the latest and greatest.
photo.backdated_time
Some information about backdated_time can be found in this stackoverflow question.
user.installed
Appears to be letting us know if the user has installed the current application. You can see this field added by specifically declaring on the Graph API call of `me/friends?fields=installed`. Yet another stackoverflow question led me to this information.
user.email
Can't seem to get the email on the user object? Well, just add `?fields=email` to your Graph API query and you now will get that information.
Tuesday, March 20, 2012
Thursday, March 15, 2012
AMVIV I, a history
Well, using the power of archive.org's wayback machine, I've pulled the content from an old website no longer under my control. This is content I wrote in 2004 and published on http://www.aminivacationinvegas.com. You will note that the site is not current and it appears that the real place for all things AMVIV is http://www.amviv.com.
Here's the link to my content: http://dominicminicoopers.com/amviv/default.aspx Enjoy the throwback in history!
Here's the link to my content: http://dominicminicoopers.com/amviv/default.aspx Enjoy the throwback in history!
Localizing the Google +1 button plugin code
Localizing the Google +1 button plugin code was kinda a mystery. The documentation for it was difficult for me to find. So i've written this quick how to localize the Google +1 button plugin code.
The trick to it is to use a little documented window.___gcfg object, setting the 'lang' property to the language of your choice. Please note, you will need to do this prior to the loading of the plusone.js code. If you do it afterwards, then the language you specified will be ignored!!
Here's the list of available languages.
I hope this helps you along your way to making the best possible user experience on your website.
Happy coding!!
The trick to it is to use a little documented window.___gcfg object, setting the 'lang' property to the language of your choice. Please note, you will need to do this prior to the loading of the plusone.js code. If you do it afterwards, then the language you specified will be ignored!!
Here's the list of available languages.
I hope this helps you along your way to making the best possible user experience on your website.
Happy coding!!
Labels:
+1,
Google +1,
Google Plus,
locale,
localization,
plugin
Assigning URL for Facebook Comments plugin via JavaScript
How to assign a URL for the Facebook comments plugin dynamically at run-time on the client side using some simple JavaScript.
To set your href parameter for the Facebook Comments plugin, simply add the following code.
* Thanks for the tip on how to use gist from github!
In the above code, please note that I'm using the window.fbAsyncInit. When the Facebook JavaScript SDK is loaded dynamically, Facebook will call this function once the SDK is ready to go.
Also note the use of FB.XFBML.parse(); function. This will tell the SDK to reparse the DOM for any Facebook plugin code. It doesn't matter if the code is HTML5 or XFBML, either way, the Facebook JavaScript SDK is smart enough to find either type and will insert their iframed content.
I hope this helps you along your way to making the best possible user experience on your website.
Happy coding!!
To set your href parameter for the Facebook Comments plugin, simply add the following code.
* Thanks for the tip on how to use gist from github!
In the above code, please note that I'm using the window.fbAsyncInit. When the Facebook JavaScript SDK is loaded dynamically, Facebook will call this function once the SDK is ready to go.
Also note the use of FB.XFBML.parse(); function. This will tell the SDK to reparse the DOM for any Facebook plugin code. It doesn't matter if the code is HTML5 or XFBML, either way, the Facebook JavaScript SDK is smart enough to find either type and will insert their iframed content.
I hope this helps you along your way to making the best possible user experience on your website.
Happy coding!!
Wednesday, March 14, 2012
Tips and Tricks coming soon for Facebook and Google+ integration
Just an announcement that soon I will be writing blogs on how to integrate website with Google+ as well as Facebook like and comments.
Thursday, June 3, 2010
For Sale: Terkin BC 112C & BC 112A NiCad battery chargers
Tuesday, June 1, 2010
For Sale: GE Washer & Dryer $275
Subscribe to:
Posts (Atom)




