简体   繁体   中英

Embed Instagram Feed with Hashtag and Username

I want to embed an Instagram feed to my website from my Instagram account but only include posts with a certain hashtag. I tried some 3rd party widgets but they only provide a feed with username or hashtag but not both. I registered for the Instagram API and registered a new client. I want to access:

https://api.instagram.com/v1/users/USER_ID/media/recent/?client_id=CLIENT_ID

The problem is that as long as I didn't start a submission, I cannot access the URL above. I cannot start a submission because when I choose I want to display my Instagram posts on my website , I only get the option I do not need to submit for review for this use case .

Any ideas how I will be able to integrate the feed with hashtag and my username on my website?

Your best bet would probably be to use something like http://instafeedjs.com/ , it's a jQuery plugin that lets you select a user and filter by hashtags. Unfortunately if you were looking to filter multiple hashtags you'll run into trouble because the Instagram API only allows for 1 hashtag at a time.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM