Skip to content

Instantly share code, notes, and snippets.

@mitchellkrogza
Forked from fishkingsin/fb_post_photo.sh
Created September 10, 2019 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mitchellkrogza/72ebf4de335c4a44ac4376dba3006ab1 to your computer and use it in GitHub Desktop.
Save mitchellkrogza/72ebf4de335c4a44ac4376dba3006ab1 to your computer and use it in GitHub Desktop.
post photo with curl and facebook graph
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