Hossein
Hossein

Reputation: 1391

How to get Instagram image by tags without authentication?

I was developed in my website, V.1 of Instagram API for search image by tags with URL like this:

 $url = 'https://api.instagram.com/v1/tags/' . $tagName . '/media/recent?client_id=myclientid' . '&count=20';

That's works good but recently not working and deprecated by Instagram. Is there any way to get that result whiteout authentication?

Upvotes: 2

Views: 400

Answers (1)

Larry
Larry

Reputation: 511

Unfortunately, the answer to your question is no.

As you know, Instagram recently applied more strict requirements with regard to using their APIs. Any applications that intend to use the Instagram API have to submit a request for any the scopes that they require.

basic - to read a user’s profile info and media

public_content - to read any public profile info and media on a user’s behalf

follower_list - to read the list of followers and followed-by users

comments - to post and delete comments on a user’s behalf

relationships - to follow and unfollow accounts on a user’s behalf

likes - to like and unlike media on a user’s behalf

Tags fall under the public_content scope. If you haven't been through the review process, it's straight forward for the most part. You provide a description of your application and how it will use the APIs. The one thing that caught me off guard when I went to submit and application for review was the requirement to submit a video showing how the scopes that you are requesting will be used.

Upvotes: 2

Related Questions