T
T
toshk92021-08-18 22:46:15
Facebook
toshk9, 2021-08-18 22:46:15

How to post a photo to Facebook using the Facebook Graph API?

I would like to get a step-by-step instruction for publishing a photo on Facebook using the Facebook Graph API. When I make a post request " https://graph.facebook.com/me/photos?",{"source ": " source.unsplash.com/featured/?quote ", "access_token":token} I get response {'error': {'message': '(#324) Requires upload file', 'type': 'OAuthException', 'code': 324, which requires the file to upload, which is specified in my source.
I'm probably missing some steps, like getting the URL of the download server, post request to this server, how it works with the VK API.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question