Upload photo to users profile from photo URL, not input file field

落花浮王杯 提交于 2019-12-01 11:09:14

What you will have to do is let the user upload the photo to your server before uploading it to Facebook. I recommend using this great plugin called Uploadify. It is an AJAX file uploader, you can get callbacks during the upload process and on completion. When you receive an uploadComplete callback you can display the image to your user before allowing him to submit the image to Facebook. For submitting the photo to Facebook I recommend following one of the tutorials listed in the other answer by @Abdur.

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