tschellenbach/Django-facebook — pull request #191 by smux (2012-09-01 13:01:18+00:00)
Title: Ability to post photos and video : multipart/form-data

Facebook require multipart/form-data as type for "source" parameter.
https://developers.facebook.com/docs/reference/api/page/#photos

```python
photo = open("picture.png", "rb")
fb_api.set("me/photos", source=photo, message="Blabla ...", published=True)
photo.close()
```

Code largely inspired from https://github.com/feinheit/django-facebook-graph