Permalink
Browse files

Add info to readme for creating photos

  • Loading branch information...
mmangino committed Oct 12, 2011
1 parent b58af15 commit c7ac4e16971a78928c68825ac51915db99f20a09
Showing with 5 additions and 0 deletions.
  1. +5 −0 Readme
View
5 Readme
@@ -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
========================================

0 comments on commit c7ac4e1

Please sign in to comment.