How should we retrieve an individual post now that /[post-id] is deprecated in v2.4?

Looks like you now need to the combination of the id of the user or page that made the post (or whose wall it is on), an underscore, and then the post id. For your example post, 10153513872748291, that is made by a page Drama-addict, that has the id 141108613290 – so 141108613290_10153513872748291 will work. … Read more

What are all the custom URL schemes supported by the Facebook iPhone app?

June 2014 EDIT: Here is the updated list from Facebook v12: fb://album?id=%@ fb://background_location fb://browse?semantic=%@&result_type=%d&source_type=%d&title=%@ fb://codegenerator fb://composer?%@ fb://composer?pagename=%@&pageid=%@ fb://composer?target=%@ fb://composer?view=location fb://contactimporter/?ci_flow=%d fb://discovery fb://entitycards/?ids=%@&source=%@ fb://event?id=%@ fb://event?id=%@&post_id=%@ fb://eventguestlist?event_id=%@ fb://events/list fb://eventslist?owner_fbid=%@ fb://f(.+)(\?|&)v=map(\&.*)? fb://f(.+)incorrect_map_pin(\&.*)? fb://friendsnearby fb://friendsnearby/?source=%@ fb://friendsnearby/?source=divebar fb://friendsnearby/ping?fbid=%@&source=%@ fb://friendsnearby/profile?fbid=%@&source=%@ fb://gift? fb://group?id=%@ fb://group?id=%@&object_id=%@&view=permalink fb://hashtag/ fb://hashtag/%@ fb://location_settings fb://messageComposer? fb://messaging/new fb://messaging/new?id=%@&name=%@&isPage=%d fb://messaging? fb://messaging?id=%@ fb://messaging?id=%@&%@ fb://messaging?tid=%@ fb://messaginglist fb://page?id=%@ fb://page?id=%@&source=%@&source_id=%@ fb://page_about?id=%@ fb://page_friend_likes_and_visits?id=%@ fb://page_reviews?id=%@ fb://photo?%@ fb://photo?id=%@ … Read more

“Uncaught (in promise) undefined” error when using with=location in Facebook Graph API query

The error tells you that there is an error but you don´t catch it. This is how you can catch it: getAllPosts().then(response => { console.log(response); }).catch(e => { console.log(e); }); You can also just put a console.log(reponse) at the beginning of your API callback function, there is definitely an error message from the Graph API … Read more

What’s the Facebook’s Graph API call limit?

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

How to programmatically log out from Facebook SDK 3.0 without using Facebook login/logout button?

Update for latest SDK: Now @zeuter’s answer is correct for Facebook SDK v4.7+: LoginManager.getInstance().logOut(); Original answer: Please do not use SessionTracker. It is an internal (package private) class, and is not meant to be consumed as part of the public API. As such, its API may change at any time without any backwards compatibility guarantees. … Read more