Resumable Upload - Query File Upload Status
GET https://graph.facebook.com/{{Version}}/{{Upload-ID}}
You can query the status of an upload session by making a GET call to an endpoint that is named based on the Upload-ID
that was returned through the Resumable Upload - Create an Upload Session request.
When uploading data, you must include the access token as an HTTP header.
Example ``` bash GET https://graph.facebook.com/v14.0/upload:MTphdHRhY2htZW50Ojlk2mJiZxUwLWV6MDUtNDIwMy05yTA3LWQ4ZDPmZGFkNTM0NT8=?sig=ARZqkGCA_uQMxC8nHKI HTTP/1.1 Authorization: OAuth {{USERACCESSTOKEN}}
For more information, see [Query File Upload Status after an Interruption](https://developers.facebook.com/docs/graph-api/guides/upload#interruptions).
**Response**
The result will be a JSON-encoded ID and offset that looks like the following:
``` json
{ "id": "upload:MTphdHRhY2htZW50Ojlk2mJiZxUwLWV6MDUtNDIwMy05yTA3LWQ4ZDPmZGFkNTM0NT8=?sig=ARZqkGCA_uQMxC8nHKI", "file_offset": 0 }
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Cache-Control | string | ||
Authorization | string |
RESPONSES
status: OK
{"id":"upload:MTphdHRhY2htZW50Ojlk2mJiZxUwLWV6MDUtNDIwMy05yTA3LWQ4ZDPmZGFkNTM0NT8=?sig=ARZqkGCA_uQMxC8nHKI","file_offset":0}