Facebook sdk get users phone number or Address?

This information is not available via the Facebook APIs and will not be added anytime soon. If you want this information from the user you should prompt them for it after they have logged into your application using Facebook. Here’s a link to Facebook’s APIs: https://developers.facebook.com/docs/reference/api/user/ You can use the graph API explorer to gain … Read more

Facebook Graph API does not return Page Events

https://developers.facebook.com/blog/post/2018/04/04/facebook-api-platform-product-changes Access to the Events API is not possible at the moment: …apps currently accessing Events and Groups APIs will lose access today Update: After Facebook did a lot of changes, it seems to be possible to get events again. You can get events from Pages you manage easily in dev mode. If you want … Read more

why does posting to facebook page yield “user hasn’t authorized the application”

You should add permission called status_update, for example https://www.facebook.com/dialog/permissions.request?_path=permissions.request&app_id=145634995501895&redirect_uri=https%3A%2F%2Fwww.facebook.com%2Fconnect%2Flogin_success.html%3Fdisplay%3Dpage&response_type=token&fbconnect=1&perms=status_update&from_login=1&m_sess=1&rcount=1 and i’m able post to page i liked with the access token i get just now: If you want to post as the admin of the page, you’re require both manage_pages and status_update permissions, for example https://www.facebook.com/dialog/permissions.request?_path=permissions.request&app_id=145634995501895&redirect_uri=https%3A%2F%2Fwww.facebook.com%2Fconnect%2Flogin_success.html%3Fdisplay%3Dpage&response_type=token&fbconnect=1&perms=manage_pages%2Cstatus_update&from_login=1&m_sess=1&rcount=1 Cheers

Posting to friends’ wall with Graph API via ‘feed’ connection failing since Feb 6th 2013

Yes, this was announced months ago and took effect on Feb 6th 2013: Removing ability to post to friends walls via Graph API We will remove the ability to post to a user’s friends’ walls via the Graph API. Specifically, posts against [user_id]/feed where [user_id] is different from the session user, or stream.publish calls where … Read more

Get long live access token from Facebook

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

Is there an API to force Facebook to scrape a page again?

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