facebook

Open Graph API - Github PHP Class

Hi all, I have downloaded the PHP class from github which is the wrapper for their Open Graph API. I can log in and list freinds and images etc. But what I am really struggling with is allowing for extended permissions to allow posting to a users wall. I know somewhere I need to add "scope=publish_stream" to allow this option and can o...

Posting status via Facebook's graph api

In PHP, I am trying to post a status to our Facebook fan page using the graph api, despite following the intructions facebook give, the following code does not seem to update the status. Here is the code; $xPost['access_token'] = "{key}"; $xPost['message'] = "Posting a message test."; $ch = curl_init('https://graph.facebook.com/{pag...

Facebook White Screen

We keep getting a white-screen on our FB application, although the server is successfully getting hit and no errors are occurring. Is there a setting or something we can do to resolve this? Does anyone know about this issue? ...

Getting FBML Error unknown tag "fb:like" error with Facebook app

I've been looking at this for ages now and I cant find anything on the net that provides a solution. When trying to use the tag... ...this is embedded on a tab canvas. The 'Like' button appears when using the app locally, however, it doesn't appear when used on the facebook site. I get this error:- FBML Error (line 264): unknown t...

How can I get Facebook Profile image from email?

There's an outlook plugin called Xobni that has a really cool feature, if a contact has an email address, it will fetch that contact's profile picture and display it. Their FAQ states the following: Xobni sends an encrypted email address to Facebook to retrieve the Facebook profile for the person who is currently being viewed in the ...

Does facebooks new open graph api allow for filtering by location?

I see that www.booshaka.com allows you to search public facebook updates via the new api.. I wondered if it would be possible to include a filter.. much like on twitter "QUERY near:LOCATION" etc.. ...

How to implement the Facebook "Like" button for my website

I am trying to implement facebook like button on my website. The first four lines in the code is already there on my site after the end of the "" tag. To implement the "Like button" i have added the second script (Line five to the end) and ran the application. Its giving me an error as "Microsoft Jscript runtime error:'_onLoad' is nul...

How to secure an AJAX call from a facebook canvas application.

Reading this Ajax example, http://wiki.developers.facebook.com/index.php/FBJS/Examples/Ajax#Working_Example I found the following line. I'm not sure what to understand out of it, how do you "check the sig values per Platform spec"? "Note: For brevity's sake we are trusting $_POST['fb_sig_user'] without checking the full signature. T...

Programmatically Untag FB Photos with Javascript

Hello! I've spent the past hour hacking away at this: I want to write a Javscript routine to programatically untag myself from photos on Facebook. Once it works, I'll run it in the Firebug console and untag myself from all Facebook photos (there's no way to do this through the GUI). I wanted to see if you guys had some advice to get m...

Facebook Graph API: FB.login() called before calling FB.init()

I'm trying to use the new Facebook Graph API on my website. This is what I have: Somewhere on the page: <fb:login-button autologoutlink="true" perms="email,user_birthday,status_update,publish_stream"></fb:login-button> Right after the tag: <div id="fb-root"> </div> <script type="text/javascript"> window.fbAsyncInit ...

Convert the facebook time to GMT format?

In my website I am using facebook application.And if user loged in with facebook then facebook provide the timezone information like 5.5 for (GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi.So I need to convert for all timezones.Is there any simple coding for that otherwise I need all timezone information in facebook format with GMT forma...

Problems uploading pictures to Facebook wall.

Hi, i'm trying to upload a JPEG picture to Facebook wall using libcurl. Appareantly the connection is established but cURL hangs when waiting for server response. The libcurl output is the following: About to connect() to api.facebook.com port 80 (#0) Trying 66.220.146.15... * connected Connected to api.facebook.com (66.220.146.15) po...

post content to facebook wall

I just need a php based script for my website where in i have a textbox and a button and whatever i write into it gets posted into my facebooks wall .. Also prior to this i will be logged into facebook ...

Facebook Page Statuses API

I've got a curl function in php which posts a status update to our facebook page. However, when I post the update it makes the status appear from me personally rather than me the group. Does anyone know how you can post as administrator of the group. The script is as follows; $xPost['access_token'] = "[key]" $xPost['message'] = "Po...

Offline access using facebooker plugin

If I use Offline Access on my rhtml page in rails application, how can I get the infinite session key from facebook? so that I can store it in the database & from onward users on my website do not need to connect to facebook again? I'm using facebooker plugin in my rails application. Please help. ...

Facebook API - delete status

In PHP, I'm using curl to send a delete to the fb graph api - and yet I'm getting the following error; {"error":{"type":"GraphMethodException","message":"Unsupported delete request."}} The code I'm using is; $ch = curl_init("https://graph.facebook.com/" . $status_id . ""); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CU...

Authorizing facebook connect users with other third parties

I'm working on a site that has a large proportion of users signing in via Facebook Connect, so they don't have a username and password for our site. We offer our own user-authenticated API using basic auth, but this doesn't allow facebook connect users to authenticate with clients using our API. Is there any way that doesn't break Face...

Facebook Connect iPhone API logout not working

I am attempting to write a Facebook integration in an iPhone app I'm working on. I have it logging in just fine, but I don't like the idea of being able to turn a feature on without being able to turn it off. So, in working on the logout functionality, I have been caught in a snag. - (IBAction) logoutClicked:(id)sender { if (fbLogge...

How do I order the friends list returned from the new Facebook Graph API?

You can get a list of friends of an authenticated user with: https://graph.facebook.com/me/friends Anyone have any idea how to order the list by user name? Because it doesn't by default. There's nothing in the documentation. ...

Where did the code that made it so you have to "fan" facebook pages to see content come from?

Hey there. I have noticed a general trend in pages on facebook with a tab that requires users to "fan" a page to see it. I know these people aren't bright, but was wondering where exactly did this code (not tactic - for the sake of not having this question deleted) originate? I would really love to know. Thanks. ...