SHARE
TWEET


Facebook Graph API Multipart Photo Upload, Multiple Parts
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="access_token"
- <ACCESS_TOKEN>
- --------------------------e94f377a15b0500f
- Content-Disposition: form-data; name="caption"
- This is the message I wanna post.
- --------------------------e94f377a15b0500f
- Content-Disposition: form-data; name="filedata"; filename="square.png"
- Content-Type: image/png
- <IMAGE_DATA>
- --------------------------e94f377a15b0500f--
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.