Upload a profile image using the Facebook API

Is there a way by which I can initiate uploading a profile image to Facebook using my Javascript Graph API. I looked in many places for the answer, and the closest I was to how to set the facebook profile picture using the api graph . But "makeprofile = 1" doesn't seem to work.

+5
source share
1 answer

&makeprofile=1 seems deprecated.

Instead, use the URL of the mobile link: http://m.facebook.com/photo.php?fbid=[photo-id†&prof

A screen with an image and a button asking you to confirm that he wants to use it as a profile image will appear.

Proof of concept

Source: fooobar.com/questions/1242782 / ...

0
source

Source: https://habr.com/ru/post/1242781/


All Articles