How To Unblock Facebook Server?

Can an app capture the OAuth access token using a Facebook server-side flow, then use it on the client side?

  • This is a workaround in case the client app is unable to capture the #hash from a client-side flow. Instead, the client app opens the URL for a server-side flow. When the server-side flow completes, the server stores the token. The client will then retrieve the token from the server using some other API, then make Facebook API requests using that token. Does Facebook check that the IP address used to perform the authentication is the same as used for the API calls?

  • Answer:

    Access token is same and you can use it anywhere after you get hold of it. However, if you are not using JS SDK of FB, you need to make crossdomain graph API calls to FB server using jsonp.

Akshay Mathur at Quora Visit the source

Was this solution helpful to you?

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.