instagram

Instagram hooks pre-select media issue

天大地大妈咪最大 提交于 2019-11-26 18:13:59
问题 This is my code. The file is correctly added to photos library, but in instagram app this url -> instagram://library?AssetPath=assets-library%3A%2F%2Fasset%2Fasset.mp4%3Fid=5EDBD113-FF57-476B-AABB-6A59F31170B5&ext=mp4&InstagramCaption=my%caption don't open the last video. - (void)loadCameraRollAssetToInstagram:(NSURL*)assetsLibraryURL andMessage:(NSString*)message { NSString *escapedString = [self urlencodedString:assetsLibraryURL.absoluteString]; NSString *escapedCaption = [self

Instagram Unable to reach callback URL

ぃ、小莉子 提交于 2019-11-26 15:59:56
问题 I'm having weird problem that instagram won't allow me to subscribe to more tags. I subscribed yesterday to 3 tags without any problem, I tried today with new tag and no effect. Does somebody else have same problems? I keep getting APISubscriptionError code 400 Unable to reach callback URL, but that URL is globaly accessible, even instagram is calling it every 5 min for tags i added yesterday. Any ideas? 回答1: This problem has now been fixed. If it re-appears, here is workaround that I

post image in Instagram

怎甘沉沦 提交于 2019-11-26 15:24:44
问题 Question : In my app I need to post image in Instagram just like FB or Twitter. What I have already done : Login and fetched photographs from the Instagram to my own app. But not getting any way for image posting in Instagram. 回答1: Yet it is not possible to post image in Instagram like FB or twitter. But this is another way to achieve this using already installed Instagram and if not this will notify user to download app . public void onClick(View v) { Intent intent = getPackageManager()

Instagram ?__a=1 url not working anymore & problems with graphql/query to get data

无人久伴 提交于 2019-11-26 15:17:38
问题 Update 19 April After a few days using cookie ig_pr two days ago is block. Looks like the only way to get the data now is use sessionid with a specific value Original I was using instagram ?__a=1 url to read all the post of instagram's users. A few hours ago there was a change in the response and now doesn't allow me to use max_id to paginate. Before I usually sent a request to https://www.instagram.com/{{username}}/?__a=1 and using the graphql.edge_owner_to_timeline_media.page_info.end

PHP : writing a simple removeEmoji function

一世执手 提交于 2019-11-26 15:12:08
I'm looking for a simple function that would remove Emoji characters from instagram comments. What I've tried for now (with a lot of code from examples I found on SO & other websites) : // PHP class public static function removeEmoji($string) { // split the string into UTF8 char array // for loop inside char array // if char is emoji, remove it // endfor // return newstring } Any help would be appreciated sglessard I think the preg_replace function is the simpliest solution. As EaterOfCode suggests, I read the wiki page and coded new regex since none of SO (or other websites) answers seemed to

Instagram how to get my user id from username?

ぐ巨炮叔叔 提交于 2019-11-26 15:02:25
问题 I'm in the process of embedding my image feed in my website using JSON, the URL needs my user id so I can retrieve this feed. So, where can I find/get my user id? 回答1: Very late answer but I think this is the best answer of this topic. Hope this is useful. You can get user info when a request is made with the url below: https://www.instagram.com/{username}/?__a=1 E.g: This url will get all information about a user who's username is therock https://www.instagram.com/therock/?__a=1 Update i

Did Instagram change API rate limits on Mar 30, 2018?

丶灬走出姿态 提交于 2019-11-26 14:42:59
问题 I use some self developed script to get info about my posts and followers. Recently I discovered that Instagram changed rate limits for my app. I see following info in headers: x-ratelimit-limit: 200 I learned Instagram blog and page with changes but found no mentions about any changes since Oct 1, 2017. Is this new limit related only to my token or to entire platform? Could you check your token? 回答1: Yes It is, Although no official communication. I also experienced that. I found this in

How Does Instagram&#39;s GET/tags/<tag>/media/recent Pagination Actually Work?

我怕爱的太早我们不能终老 提交于 2019-11-26 14:13:03
问题 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

CasperJS bind issue

大憨熊 提交于 2019-11-26 13:48:57
I'm trying to reach an instagram page, but with no luck. I keep getting the error and a blank screenshot. Error text: TypeError: 'undefined' is not a function (evaluating 'a.createDescriptor.bind(null,t)') Casperjs --version is 1.1.0-beta3. Basically I use the following code: var casper = require('casper').create({ verbose: true, logLevel: 'debug', pageSettings: { userAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4' }, loadPlugins: true }); casper.on( 'page.error', function (msg, trace) { this.echo( 'Error: ' + msg,

Instagram API doesn’t find any liked posts for sandbox users

旧巷老猫 提交于 2019-11-26 12:39:11
问题 I’m using the Instagram API in sandbox mode. I’m trying to access a User’s liked posts from the Instagram API using their authenticated access token. This user is one of the accepted sandbox users for my app, and has liked some posts. If I call other endpoints with the same token, I get some data, but accessing /users/self/media/liked returns empty data. I’m using this URL: https://api.instagram.com/v1/users/self/media/liked?access_token={verified access token} and this is the result I’m