Unsupported get request in Facebook Graph API
This error occur due to several problem in permissions of your page 1. go to edit page ->manage permission check Age restrictions : 13+ 2. go to basic information -> Start Type:: set to launched
This error occur due to several problem in permissions of your page 1. go to edit page ->manage permission check Age restrictions : 13+ 2. go to basic information -> Start Type:: set to launched
Here’s an example of how to do a FQL query using the Graph API and JavaScript FB.api( { method: ‘fql.query’, query: ‘SELECT uid, first_name, last_name FROM user WHERE uid = ‘ + someUid }, function(data) { // do something with the response } ); This assumes you’ve already setup your page according to the Facebook … Read more
I don’t mean to be unhelpful, but it appears access to username has been removed from the API, as far as I can tell. Places where an app may have been using username, such as in the old share dialogs, can no longer do that when used with the 2.0 API. I think its also … Read more
fbtrace_id is something you will include when reporting a bug to the Facebook support team. fbtrace_id: Internal support identifier. When reporting a bug related to a Graph API call, include the fbtrace_id to help us find log data for debugging. Read more here: https://developers.facebook.com/docs/graph-api/using-graph-api/
I haven’t tried this with stream/feed photos, but the generally accepted way of doing this is: http://graph.facebook.com/{ID of object}/picture If you want the “large” version, you would do: http://graph.facebook.com/{ID of object}/picture?type=large I’m not 100% sure if this would work for an actual photo (instead of a user profile picture or page profile pic), but I … Read more
Actually I would do it this way: $arrayOfPages = array(‘url1’, ‘url2’, ‘url3’); $listOfPages = implode(‘,’, $arrayOfPages); SELECT share_count, like_count, comment_count, total_count, url FROM link_stat WHERE url IN ($listOfPages) That would give you all the data with the URL as a unique identifier without having to break Facebook’s policy against fake users. You can dynamically create … Read more
Page metadata isn’t the sort of thing that should change very often, but you can manually clear the cache by going to Facebook’s Debug Tool and entering the URL you want to scrape There’s also an API for doing this, which works for any OG object: curl -X POST \ -F “id={object-url OR object-id}” \ … Read more
There is a way to extend this to 60 days. described here: https://developers.facebook.com/docs/roadmap/completed-changes/offline-access-removal/ under Scenario 4: Client-side OAuth and Extending Access_Token Expiration Time through New Endpoint Edit: In order to extend the access token you need to make the following request with your short lived access token: https://graph.facebook.com/oauth/access_token? client_id=APP_ID& client_secret=APP_SECRET& grant_type=fb_exchange_token& fb_exchange_token=EXISTING_ACCESS_TOKEN
The best answer to this question from another forum, from Ash Rust in 2010: “After some testing and discussion with the Facebook platform team, there is no official limit I’m aware of or can find in the documentation. However, I’ve found 600 calls per 600 seconds, per token & per IP to be about where … Read more