facebook-graph-api

How would I get a list of 'friends' who have added my Facebook application?

I'm really struggling with something that should be a simple matter: Showing a user of my Facebook app a list of their friends also using the app. Is there nothing built into the APIs to allow such a common request? The only thing I can think of to do is to get the list of the user's friends, and then get all the users from my database ...

Migrated to Facebook Graph API - application broken now - cannot post to wall

Hey guys Yesterday I changed the application settings and enabled "New Data Permissions" and "New SDKs". After that the feature of posting message to the users wall stopped working. On my website, users login using facebook API (Graph) and are able to post messages on their wall. This is my old code that was working fine: function p...

Posting picture on facebook 'feed' from an iPhone app using graph api

I am using ASIHTTPRequest to work on facebook graph API. This is the nearest I have gone to posting a picture on the feed. So if I have a ASIFormDataRequest *request = [ASIFormDataRequest requestWithURL:url]; The url is https://graph.facebook.com/me/feed Now to post a picture I do the following: [request setPostValue:@"My Message" fo...

Graph API features

What features does Facebook's Graph API support? I have already incorporated publishing messages. Can I get: Online list of friends. Chat Profile Pictures ...

facebook social plugin - not able to specify size

Hey guys I'm running into this simple issue but not able to find any docs for this. I was using the following facebook login button which was displaying a long/large facebook login button and this works perfectly fine <fb:login-button length="long" size="large" perms="publish_stream,offline_access,email,user_events,rsvp_event,user_abo...

Facebook Graph API and Yahoo Pipes : Getting News Feed

I know that the following is used to request the news feed https://graph.facebook.com/me/home?access_token?... Which returns the set in json. What is the way to get this into a pipe ? I have tried fetching the data but robots.txt does not allow it. I also tried building the url from scratch yields errors as well. I have been able to...

Facebook: get all the likes associated with a status update

This seems obvious, but I can't find a way to do it. Using stream.get will get all the statuses for a person, but under "likes" for that status, there are only 4 likes listed (when the post in question has 25 likes). So then I took a look at using FQL -- querying the "stream" gets the same four likes, nothing beyond that. I had high ho...

Facebook open graph - login button not displaying everytime

Hey Guys I recently upgraded to open graph and implemented some of the facebook social plugins on my website like fb:friendpile fb:like-box etc Ever since I implemented these new features, I'm seeing some random behavior with these plugins. Like on my home page, when you type in the URL and go for the first time, none of the faceboo...

Facebook graph Error Maximum execution time of 30 seconds exceeded

Hey guys I'm using the facebook graph PHP sdk - whenever I call the $facebook->api method in a loop I end up getting this error Fatal error: Maximum execution time of 30 seconds exceeded in C:\Apache\htdocs\fb\application\library\facebook-platform\php\facebook.php on line 509 This is the sample code $data = $facebook->api('/me/lik...

Accessing a user's friends via the Facebook Graph API?

Has anybody successfully accessed the list of a user's friends via the Facebook Graph API? I have written code to authenticate users on my website via Facebook's OAuth API. It works splendidly; I can access public information, likes, interests, activities, etc. I access these data points via the following URL format, where I substitute ...

Facebook graph getting my likes takes 75 seconds or longer

Hey guys On my profile page, I'm trying to pull all my likes from facebook and display the detail about each like. For example, if I like the tv show Seinfeld, I will display the Seinfeld logo along with how many like it etc. I'm using the php sdk and it takes forever to pull the data. Currently I have only 24 likes and it takes 75 sec...

Facebook Graph API Returns Inconsistent Number of Friends With Facebook Profile

I've noticed that using the new Facebook Graph API to fetch friends of users returns a number of friends that is close to, but not always exactly, the number of friends displayed on the user's profile. Documentation here: http://developers.facebook.com/docs/api For example, on that page, I click on https://graph.facebook.com/me/friend...

Using the Facebook Graph API, how can I get the contents of a page?

For example, here's a 'page': http://www.facebook.com/facebook That page has an RSS feed (which I'd like to use, ideally), but a) it browser-sniffs meaning I need to fake the user-agent from a script to fetch it - and that feels really brittle b) the quality of the data returned is really poor. Can I use the graph api to fetch the sam...

how can i use localhost while developing facebook graph website ?

Hi i want to use localhost for developing website facebook application using the graph api. i working in asp.net c# in the previous api of facebook i was abe to write the http://localhost:4300/ in the connect url at the application settings. now it dosent work. it keeps telling me An error occurred with application name. Please try a...

Facebook tags dont render when generated dynamically using Jquery

Hey guys, To give you a simple use case - on my website, I display the comments posted by the facebook users. For each comment I display the facebook users photo using the fb:profile-pic tag and a fb like button. This page renders properly and everything displays well. Now when the users want to read older comments, they click on the "...

ASP.NET & Facebook Connect - How To Post To User's Wall Using Graph API?

Hi Guys, I've integrated my website with Facebook Connect, authorization/single-sign on all working great. Now im trying to post something to the user's wall, which im having some problems with. First of all, im using the "old" JavaScript API (FeatureLoader.js). These are the Graph API URL's im using: private const string UserDeta...

Facebook Connect - Graph API vs Old JavaScript SDK (Action Links)

Hi Guys, I'm posting some info to a user's wall via Facebook Connect (from my external website). All working good, but i've noticed some differences in the documentation for wall posts in the Graph API and the Old JavaScript SDK. With the Graph API, to post to a user's wall you do the following: Make a HTTP POST to https://graph.fac...

Posting Attachment Facebook Graph API

Hi, Right now I'm trying to figure out how to post an attachment using facebooks graph api. Right now I'm using $attachment = array( 'message' => $_POST['tt'], 'text' => 'Download', 'name' => 'name', 'href' => 'http://www.url.com', 'descrip...

Facebook Connect Graph API - Why Can't I Retrieve All User's Details?

I feel like every second question i ask here is relating to Facebook Connect - that says a lot about their API. Anyway, that's politics, i digress.. I'm trying to pull back user details from the Graph API for use in my application (which is an FBML external website - JavaScript SDK for authentication). I have requested the following pe...

Facebook: Graph API java library

Who knows a good Java library for using Facebook's graph API? ...