问题
Im trying to do a simple script with this:
How-To: Use the Graph API to Upload Photos to a user’s profile
But my problem is two things:
- I want the users to be able to send the pictures from my site to facebook with out having to download it and then upload it
- I would like to have a diferent respond insted the number one gets from facebook
I seen some pages do this,
Please help
回答1:
The doc says "you can upload a photo by issuing an HTTP POST request with the photo content and an optional description". Try perhaps with the image's web url. According to this, it should work.
For the second, you should use XMLHTTPRequest.
来源:https://stackoverflow.com/questions/9148155/uploading-a-photo-from-another-server-directy-to-facebook