&makeprofile=1 parameter no longer works

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-22 16:34:20

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!