5

Is there any way in which I can initiate a profile picture upload on Facebook using their Javascript Graph API. I have looked in many places for an answer and the closest I had got was to how to set a facebook profile picture using the graph api. But the "makeprofile=1" does not seem to be working.

Community
  • 1
  • 1

1 Answers1

0

&makeprofile=1 seems to be deprecated.

Use the mobile link URL instead: http://m.facebook.com/photo.php?fbid=[photo-id]&prof

You'll get a screen with your picture and a button asking the user to confirm that he wants to use it as profile picture.

Proof Of Concept

Source: https://stackoverflow.com/a/37480622

Community
  • 1
  • 1