graph = facebook.GraphAPI(oauth_access_token)
photo = open('picture.jpg', 'rb')
graph.put_object('me', 'photos', message='You can put a caption here',
    source=photo.read())
Post picture to Facebook using Python