Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking to see if anyone knows of something (or similar) that could upload a single image to a user's Facebook wall? It should prompt or store a log in somewhere and let a user choose the image somehow.

The second part of the question is, if not, then is there anything in the Facebook URL that I could pass as an argument or something like facebook.com/myUserName/uploadPath:C:\Users\Documents\img0001.jpg. I know that this example is not even close, but I've been searching for a while and can't find anything similar.

share|improve this question

migrated from superuser.com Jul 20 '12 at 22:24

This question came from our site for computer enthusiasts and power users.

You can use the fbconsole module for python.

To upload a photo you would use

fbconsole.post('/me/photos', {'source':open('my-photo.jpg')})
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.