问题
I made several apps that invited the user to create pictures, uploaded them to facebook and then sent them to a link on facebook that allowed them to set them as their profile picture: https://www.facebook.com/photo.php?fbid=10152753169290428&makeprofile=1
In the last few days, facebook is just ignoring the makeprofile parameter. I just love developing for facebook, it's such a roller coaster ride.
Can anyone help? Is there an alternative?
回答1:
You can redirect to the mobile URL like:
http://m.facebook.com/photo.php?fbid=[photo-id]&prof
and then it magically works.
回答2:
The undocumented makeprofile=1
does still work, but the user needs to have permission to view the photo in the first place. I tested this on the following public image:
https://www.facebook.com/photo.php?fbid=10100464869430336&set=a.575724691546.2154239.60506094&type=1&makeprofile=1
Update (14 Dec 2014):
Clicking on the above link using a Desktop browser shows me the below popup on Facebook. The feature does still work (at least for me).

来源:https://stackoverflow.com/questions/26534346/makeprofile-1-parameter-no-longer-works