As explained in the previous article, you can post to user walls with or without dialog. Which method to use depends on your need. If you want user to enter a message, then you need the dialog. At other times, you might want predefined messages so why bother prompting the user? (Note that Facebook has […]

As mentioned in the previous post (https://www.permadi.com/blog/2011/04/javascript-facebook-graph-api-posting-to-walls/), you can post feed with or without a dialog with the main difference being the obvious one that user cannot edit the message being posted without a dialog. By the way, Facebook has some policies of what kind of message you can put in the message field, read […]

Examples Here are examples of posting to Facebook well feed using the Javascript Graph API: https://www.permadi.com/tutorial/facebook-js-graph-api-post-to-wall/index.html There are two examples there, one using the FB.ui (to show dialog) and the other using FB.api.  The difference is that the FB.api method does not display any user-interface (dialog), so this is best used for canned messages. Code […]

You can try the example for this guide at: https://www.permadi.com/tutorial/facebook-js-oauth-popup-centered/index.html Background The normal way to open the OAUTH dialog is as described here, by calling: You can open the dialog in the same window, like this: More details can be read here. The normal route if you want to show the dialog as a popup […]

This is intended for non programmer as a step by step guide of how to to display Flash content in a Tab page. (Note: technically, there’s no longer Tabs in Facebook pages since Facebook moved the tab to the left Sidebar, but I will still refer them as Tabs). Non developers no need to freak […]

Just received the following Press Release from Packt Publishing, one of the book listed is for Away3D: “Packt has this week announced a series of discounts and promotions on its selection of Open Source Graphic Applications and Library books. The Open Source Graphic Applications and Libraries Month will offer readers exclusive discounts of 20% and […]

The traditional method of adding custom contents to a Page is by using the Static FBML application. This approach has a lot of limitations, such as not being able to call Javascript or PHP files.   This method as you may already know, it is being deprecated by Facebook.   See Developer Roadmap. The other […]

This tutorial demonstrates how to use Google MAP API version 3 to find a location and puts a marker on the MAP. For information about setting up the map, see here: /blog/2011/04/using-google-map-api-3-for-javascript-beginner-how-to-and-example/.     New to Version 3 of the API is the Geolocation service, which enables you to retrieve the location information (including longitude […]

facebook

If you have set user your user name via the Account Setting, it can be very hard to find your numeric user id. In fact, it’s annoyingly hard. I don’t know why this information is not somewhere obvious, like in your Account Setting section. Why can’t they put it there? It’s not like the user […]

The Google MAP API version 3 offers improvements over the previous versions that makes it easier and more convenient to use. The one I like the most: you no longer need to obtain an API Key to use, very convenient.   You can read more about the changes and the API here: http://code.google.com/apis/maps/documentation/javascript/basics.html. This guide […]