Created
September 9, 2013 10:00
-
-
Save fishkingsin/6493697 to your computer and use it in GitHub Desktop.
post photo with curl and facebook graph
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl 'https://graph.facebook.com/me/photos' -F 'access_token=access_token' -F 'source=@'$1 -F 'message='$(date +"%Y-%m-%d-%S") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great thank you, how do you attach multiple photos from the local HDD?