Resumable Upload - Upload File Data

POST https://graph.facebook.com/{{Version}}/{{Upload-ID}}

To upload a profile picture to your business profile, make a POST call to the named endpoint {{Version}}/{{Upload-ID}}, where Upload-ID is the value you received from Resumable Upload - Create an Upload Session . This value should look like the following:


"upload:MTphdHRhY2htZW50Ojlk2mJiZxUwLWV6MDUtNDIwMy05yTA3LWQ4ZDPmZGFkNTM0NT8=?sig=ARZqkGCA_uQMxC8nHKI"




The file_offset parameter must be included as an HTTP header. It will not work as a query parameter.

The access token must be included in an Authorization HTTP header. It cannot work as a query parameter.

For more information, see Initiate Data Upload .

Response

The call returns a handle that includes the session ID that you can use to update your profile picture using Update Business Profile .

HEADERS

| Key | Datatype | Required | Description | | Content-Type | string | | | | file_offset | number | | Specifies the offset to start the upload. The offset value should always be 0. | | Authorization | string | | |

RESPONSES

status: OK

{"h":"2:c2FtcGxlLm1wNA==:image/jpeg:GKAj0gAUCZmJ1voFADip2iIAAAAAbugbAAAA:e:1472075513:ARZ_3ybzrQqEaluMUdI"}