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
Related Q & A:
- What risks do I have to consider when encrypting server side as opposed to client-side?Best solution by Information Security
- How do I make a python web program that is on a ubuntu server allow access to the server?Best solution by Yahoo! Answers
- How to restrict access to a sql server database from Azure?Best solution by Stack Overflow
- How to refresh an access token every once in a while?Best solution by Stack Overflow
- How can I get the remote server's date and time at the client side in my application in c#?Best solution by Stack Overflow
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.