Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

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
add comment

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

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

1 Answer

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
add comment

Your Answer

 
discard

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