nikola99
nikola99

Reputation: 123

Instagram api sandbox

I today get Instagram api and add my website live, I see write:

Client Status: Sandbox Mode GO LIVE

I can't click on ''GO LIVE'' button why ?

Upvotes: 2

Views: 3816

Answers (1)

Callam
Callam

Reputation: 1009

You would need to start a submission for approval to go live, though:

Feeds for websites won't be approved; these will remain in sandbox mode and be limited to 500 requests per hour and 20 images. This doesn't sound like much especially for large clients, but if you cache your responses, it's not a problem.

The main confusion is because they have made it sound like every app/feed has to be approved and out of sandbox mode to work, where as the reality is that only fully functioning apps for phones, or a widget plugin really ever need to be.

You will no longer be able to display feeds based on hashtags, only a users own photo's. By getting a client to be a sandbox user, is how you can access their feed without their login information.

Older apps/feeds will need to be updated to use the new code before June or they may stop working.

It's mainly to stop apps hammering instagram's servers for unlimited requests on any hashtag/users they like.

Here is an example of how to fetch and cache images using WordPress's 'set_transient' - you will need to use a loop to output the data. WordPress Instagram Gist

Here is the relevant piece of information in the dev docs:

Here are some examples of scenarios that will not be approved:

  • To display content for a personal website. If you are a developer and you want to showcase Instagram content on a website, then you do not need to submit your app for review. By using a client in sandbox mode, you will still be able to access the last 20 media of any sandbox user that grants you permission.
  • One-off projects. If you are an agency building websites or other integrations, note that we don't grant permissions to clients created for one-off projects. If you are interested in building a product, platform, or widget that will be used as a service across multiple projects, then you may submit a single client_id that you can use across multiple projects.
  • To use a widget. If you are installing a widget for your website, then you do not need to submit for review. Some widgets may ask you to create a new client id, but you do not need to submit it for review for the widget to work. Your client can remain in sandbox mode and the widget will have access to your last 20 media.

Hope that helps clear some confusion.

Upvotes: 5

Related Questions