instagram

Get all photos from Instagram which have a specific hashtag with PHP [closed]

ⅰ亾dé卋堺 提交于 2019-11-27 09:10:19
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 10 months ago . I need to get some pictures which have a specific hashtag using PHP ? Any help will be awesome, or hint ? 回答1: There is the instagram public API's tags section that can help you do this. 回答2: Here's another example I wrote a while ago: <?php // Get class for Instagram // More

How Does Instagram's GET/tags/<tag>/media/recent Pagination Actually Work?

一曲冷凌霜 提交于 2019-11-27 08:37:18
I'm trying to use the Real-time Photo Updates API to get all pictures with a specific tag as they come in. Since updates from this API really only tell you that new content exists (but not what it is), I am querying for recent media with my tag whenever I get the notification that something has changed. The problem I am having is that I'm constantly getting duplicate media returned by that query. The documentation says this API does pagination, but I can't get it to work at all. The documentation here says to use min_id and max_id in your query string to control pagination, however it says:

Instagram Subscription API Asking For Access Token

青春壹個敷衍的年華 提交于 2019-11-27 08:25:37
问题 I have been using Instagram Subscription API to subscribe to Instagram real time updates. I have successfully subscribed to multiple subscriptions on Instagram. But now it is giving me the following error when I try to subscribe: meta": { "error_type": "OAuthAccessTokenException", "code": 400, "error_message": "The access_token provided is invalid." } Earlier it never used to ask for access token for subscription API. Can anyone please explain Instagram API. 回答1: Too old but I hope will be

Retrieve Instagram video embed URL from API

佐手、 提交于 2019-11-27 06:54:12
问题 I'm trying to find to programmatically get the embed link for an Instagram video. Unfortunately, it appears that Instagram's oEmbed endpoint, treats videos as photos, and only returns the key frame image, rather than providing an embed link. Does anyone know of a way to retrieve the embed link for an instagram video without having to manually visit the page for that video? 回答1: According to Instagram's API site a GET /media/media-id request for a video object returns a JSON object with the

Sharing Image on instagram in ios

不想你离开。 提交于 2019-11-27 06:26:11
问题 I am having an app in which I am sharing an image on instagram and it works perfectly fine. As shown in the screenshot. When I press the button share on instagram it opens up in UIActivityviewcontroller. Is it possible that If I click on Share on Instagram and and it takes me directly to the native instagram app? If the user has other apps installed in his device that apps also shows because of the UIActivityViewController. I don't want to show UIActivityviewcontroller saying "Open In

How to perform unauthenticated Instagram web scraping in response to recent private API changes?

我的梦境 提交于 2019-11-27 06:08:54
Months ago, Instagram began rendering their public API inoperable by removing most features and refusing to accept new applications for most permissions scopes. Further changes were made this week which further constricts developer options. Many of us have turned to Instagram's private web API to implement the functionality we previously had. One standout ping/instagram_private_api manages to rebuild most of the prior functionality, however, with the publicly announced changes this week, Instagram also made underlying changes to their private API, requiring in magic variables, user-agents, and

Getting a sticky header to “push up”, like in Instagram's iPhone app using CSS and jQuery

自闭症网瘾萝莉.ら 提交于 2019-11-27 05:48:18
The Instagram app has a nice sticky header that pushes the current one up in place of the new one. I found a great tutorial on how to do this natively for Android, but I'm looking to do it with JavaScript and CSS. I was able to get my header to switch out for a new one, but I can't seem to find a way to mimic the way Instagram does it. Any help is greatly appreciated. * Edit: I was able to get the header to stick to the top of the page when scrolling using waypoints as Cj in the comments pointed out. ( link to waypoints ). The main issue I'm having is getting the "push up" effect that

How to get all images of hashtag in Instagram without API?

爱⌒轻易说出口 提交于 2019-11-27 05:28:36
问题 This is the code that I used to get images of hashtag without API. I do not want to use any credentials. It does not require me to add either client_id or access token. But I only get 15 images. How can I get all the images? <div> <form action='#' method='post'> <input type='input' name='txttag' /> <input type='submit' value='Get Image' /> </form> </div> <?php function scrape_insta_hash($tag) { $insta_source = file_get_contents('https://www.instagram.com/explore/tags/'.$tag.'/'); //

How to get a user's Instagram feed

烈酒焚心 提交于 2019-11-27 04:18:11
问题 I'd like to get a user's Instagram feed using PHP. I've signed up for an Instagram Developer Account and tried pulling in a user's info and photos, but the response isn't stable. Sometimes I get a response and other times I keep getting the error: access_token is missing. Is there a solid example of getting a user's feed of photos by username? Ideally, I'd like it to be as simple as: $instagram = new Instagram(); $photos = $instagram->getPhotos("username-goes-here"); Where Instagram is a

How to get an Instagram Access Token

风格不统一 提交于 2019-11-27 04:10:51
问题 I'm really struggling in how I'm meant to get my access token for Instagram, I've registered a new client and then I used this URL https://api.instagram.com/oauth/authorize/?client_id=CLIENT-ID&redirect_uri=REDIRECT-URI&response_type=code to fill in the clients ID and redirect Url. I then was redirected to a page where it displayed a code in the Url but from there I don't have a clue where id then get my access token. 回答1: Link to oficial API documentation is http://instagram.com/developer