In the facebook graph api we have a attribute (picture) for attaching a image with a post. The source of the image has to be some location on the server. I have a file upload control on the page, can the uploaded image(not yet submitted) be used instead of images on the server?
I need to give the user an option to upload a image from his/her computer and that image will be posted on facebook using graph api. But since i don’t have a path to the image, how would I do this?
From facebook documentation ‘how to’:
https://developers.facebook.com/blog/post/498/
Also, you may upload your photo with Graph method
/me/photos