How To Adjust Position Of FB.ui Dialog On Long Page

Facebook’s FB.ui Dialog is nice and easy to use. Recently I added FB.ui dialog box to send apprequests to user friends. It worked fine on my test account and my account. So we go live. I was happy. But At night i checked my mail and i got bad news. The FB.ui pop was not [...]

Implementing Facebook Event API With fql.multiquery and With Graph Api

Facebook is our part of lifestyle and people are using this to create event so that friends can easily RSVP. Facebook Event is getting quite popular. Many Facebook application and website are using Facebook event api to show users events on their site and apps. Recently I added Facebook event functionality in http://apps.facebook.com/calendarised/. In this [...]

CakePHP and facebook SDK as Vendor

For most of the application on Facebook is simple but sometimes you have such a big application to develop you need to use a php framework. As I am a CakePHP developer, I like to use CakePHP for these type of applications .In this How-To, I will show how you can add Facebook SDK in [...]

How To Get The Pages The Facebook User is Admin Of

Some times you need the Facebook pages of a user. You can get it by simple fql. Here is how $user_pages will have the information about the pages that the user admin of. See this code in this post

Uploading a Video to Facebook User’s wall or Page’s wall

In this post I will show how you can post a image to user’s wall and to a page’s wall. To post image to page’s wall- the user logged must be admin of the page. Suppose Zakir is user of you admin. Now you want Zakir to post a image to a page (name of [...]

Scroll To a Specific Location In The Iframe of Your Facbook App’s Canvas Page

After Facebook introduce iframe in their platform – many issues have risen. On of them was scroll bar and to scroll to top. To understand scroll to top problem- suppose the first page of you application has 800px height. then your second page is 400px. when your user goes from first page to second, he/she [...]

Easy Way to Check User’s Permission, Using Rest Api in Graph Api and Getting Facebook App Friend With Fql

It was very easy to get app friends using Facebook’s legacy rest api. It is still easy to get app friends with graph api. The very good side og the graph api is that you can call the rest api with in graph api. In this post i will show you use rest api in [...]

Migration to OAuth 2.0 + HTTPS and Upgrade to Facebook’s PHP SDK v3.0.0

As Facebook’s new roadmap all Facebook app have to have HTTPS or SSL certificate. Facebook also updated their sdk to meet the changes they will do. Here i will show how easily you can use their new sdk. First download the new sdk. now If you’re currently using the PHP SDK (v2.2.x) for authentication, you [...]

Using the Graph API to Get Permissions Granted By Facebook user

Before Graph Api you could very easily get the permissions that the user granted the App. It was not available in Graph Api. Recently Facebook added new functionality to do this in graph api. Here is code to get the permissions of a use or if you use the php sdk, you can use this [...]

Embedding videos in the News Feed and Improved News Feed story for Comments Box

Some times you want to share video on Facebook from you site. Previous it was not possible, now Facebook introducing some META tag for this. og:video – e.g., “http://example.com/awesome.swf” and optionally, you can add additional metadata og:video:height – e.g. “640″ og:video:width – e.g. “385″ og:video:type – e.g. “application/x-shockwave-flash” Now When any visitor share a video [...]