C
C
cawakharkov2014-09-09 00:36:14
PHP
cawakharkov, 2014-09-09 00:36:14

How to get code and access_token from FB via curl?

Faced a problem, you need to get the code from https://www.facebook.com/dialog/oauth/
from the console and then make a request with this code to https://graph.facebook.com/oauth/access_token to get the token and work with api fb.
I can not understand how to implement it correctly through curl .
I looked all over the stack-overflow and didn't find anything useful. Maybe someone has an example?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Zelenin, 2014-09-09
@zelenin

https://developers.facebook.com/docs/php/gettingst...
https://github.com/facebook/facebook-php-sdk-v4/bl...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question