A
A
Alex2015-09-09 16:30:17
Facebook
Alex, 2015-09-09 16:30:17

How to make a request to the Facebook Graph API?

The authorization method described here is used .
The visitor is sent to the address

https://www.facebook.com/dialog/oauth?
    client_id={app-id}
   &redirect_uri=http://mysite.com

And when returning, we have the GET parameter in the address bar code.
http://mysite.com?code=AJshdasdksjd....
How to use it? How to use it to find out, say, the username and his avatar?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2015-09-09
@Kozack

graph.facebook.com/me?fields=name ,picture + your_access_token
Use this tool to explore GraphAPI https://developers.facebook.com/tools/explorer/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question