sfomuseum.you.shoebox.addInstagramPost

Description

Add a SFO Museum Instagram post to a user's shoebox Try this method in the API Explorer.

HTTP Request method

POST

Arguments

  • access_token (string) — A valid OAuth2 access token (required)
  • format (string) — The format in which to return the data. Supported formats are json, jsonp. The default format is json.
  • post_id (int64) — A valid SFO Museum Instagram post ID (required)

Errors

In addition to default error codes common to all methods this API method defines the following additional error codes:

  • 900 — Post not found
  • 901 — Failed to add post to shoebox

Example request or take this API method for a spin

curl -X POST https://api.sfomuseum.org/rest/ -F "method=sfomuseum.you.shoebox.addInstagramPost" -F "access_token=<TOKEN>"  -F "post_id=<POST_ID>"