Skip to content

Commit

Permalink
Add info to readme for creating photos
Browse files Browse the repository at this point in the history
  • Loading branch information
mmangino committed Oct 12, 2011
1 parent b58af15 commit c7ac4e1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Readme
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ If the object requires a client, just pass one in:
album = Mogli::Album.find(99394368305,client)
album.photos

You can also upload photos using httmultiparty:
facebook_access_token = "..."
client = Mogli::Client.new(facebook_access_token)
client.post("me/photos", nil, {:source => File.open("myphoto.jpg")})

========================================
Contributing
========================================
Expand Down

0 comments on commit c7ac4e1

Please sign in to comment.