Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- POST https://graph.facebook.com/v2.12/<PAGE_ID>/photos HTTP/1.1
- Host: graph.facebook.com
- User-Agent: curl/7.52.1
- Accept: */*
- Content-Length: 3077
- Expect: 100-continue
- Content-Type: multipart/form-data; boundary=------------------------e94f377a15b0500f
- --------------------------e94f377a15b0500f
- Content-Disposition: form-data; name="<WHAT_NAME_HERE?>"
- Content-Type: application/json
- { "access_token":"<ACCESS_TOKEN>", "caption":"This is the message I want to post."}
- --------------------------e94f377a15b0500f
- Content-Disposition: form-data; name="filedata"; filename="square.png"
- Content-Type: image/png
- <IMAGE_DATA>
- --------------------------e94f377a15b0500f--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement