instagram-api

Instagram InstagramCaption not working

情到浓时终转凉″ 提交于 2019-12-19 00:56:11
问题 I have below code for sharing article on Instagram. -(void) shareInstagram { NSURL *instagramURL = [NSURL URLWithString:@"instagram://app"]; if([[UIApplication sharedApplication] canOpenURL:instagramURL]) //check for App is install or not { UIImage *instaImage = mImg.image; NSData *imageData = UIImagePNGRepresentation(instaImage); //convert image into .png format. NSLog(@"imageData.leeee===%d", imageData.length); if (imageData.length<=100) { [self.view makeToast:localize(@"instaErr2")

Error logging into Instagram in iOS app using UIWebView

試著忘記壹切 提交于 2019-12-18 07:37:34
问题 I'm following Instagram authentication [recommended] steps using UIWebView on an iOS app. After entering credentials, hitting login loads a page with following error. This page could not be loaded. If you have cookies disabled in your browser, or you are browsing in private mode, please try enabling cookies or turning off private mode, and then retrying your action. And, this only happens on first run through the steps of authentication; on the next attempt, everything works smooth as silk. I

URL Scheme to post to Instagram Stories

对着背影说爱祢 提交于 2019-12-18 04:27:26
问题 Is there a way to post a video or photo directly to the Instagram Stories of the user's Instagram account? For a normal photo share on Instagram, you can use the URL Scheme and open the Editor directly. Is there a way for Stories, too? Thanks! 回答1: Swift 4.2 version of knshn's answer: func shareBackgroundImage() { let image = UIImage(imageLiteralResourceName: "backgroundImage") if let pngImage = image.pngData() { backgroundImage(pngImage, attributionURL: "http://your-deep-link-url") } } func

New Instagram API - How do you request tagged media?

允我心安 提交于 2019-12-17 19:44:30
问题 This question is going to seem like a duplicate of all the previous ones around this issue, specifically this question PHP Instagram API - How to get MIN_TAG_ID and MAX_TAG_ID. But with the new API changes the previous answers no longer work. Goal I want to request media for a specific tag. The Documentation Instagrams documentation on getting tagged media specifies you need to have the public_content scope and that there are 4 available parameters; ACCESS_TOKEN , COUNT , MIN_TAG_ID , and MAX

OAuthAccessTokenException-The access_token provided is invalid Instagram new api

喜你入骨 提交于 2019-12-17 14:54:12
问题 I am integrating Instagram login into my application. As per the provided documentation in bellow link: https://www.instagram.com/developer/authentication/ For getting CODE I hit follow API: https://api.instagram.com/oauth/authorize?app_id="your app_id"&redirect_uri=https://www.google.com/&scope=user_profile,user_media&response_type=code After hitting above API in web-view I got bellow new URL with code in it: http://www.google.com/?code=AQCPw4m0jd85IX7Qi83rd

From scraper_user.items import UserItem ImportError: No module named scraper_user.items

坚强是说给别人听的谎言 提交于 2019-12-14 03:35:59
问题 I am following this guide for scraping data from instagram: http://www.spataru.at/scraping-instagram-scrapy/ but I get this error: mona@pascal:~/computer_vision/instagram/instagram$ ls instagram scrapy.cfg mona@pascal:~/computer_vision/instagram/instagram$ scrapy crawl instagramspider 2017-03-01 15:30:10-0600 [scrapy] INFO: Scrapy 0.14.4 started (bot: instagram) 2017-03-01 15:30:10-0600 [scrapy] DEBUG: Enabled extensions: LogStats, TelnetConsole, CloseSpider, WebService, CoreStats,

Instagram OAuthException : you must provide a client_id

邮差的信 提交于 2019-12-14 02:25:08
问题 I've been trying to use server side authentication of instagram API in my web app. I've followed the steps provided at Intagram's API Page, but I keep getting the error you must provide a client_id . The code is written in node/express.js. Here is my code. PS: Please don't suggest me to use istagram-node API. index.js var bodyParser = require('body-parser'); var express = require('express'); var app = express(); var https = require('https'); var session = require('express-session'); app.use

Pathetic state of Instagram API

久未见 提交于 2019-12-14 00:07:34
问题 Related questions with answers which are no more valid: How Does Instagram's GET/tags//media/recent Pagination Actually Work? Understanding min_tag_id and max_tag_id Instagram Search for a tag within particular date range As I am exploring the Instagram API and my app is in sandbox mode, I am surprised by API at every step. This should not be condition of public API ( who cares !). The Api end point I am trying to is: https://api.instagram.com/v1/tags/{tag-name}/media/recent?access_token

Instagram API: user feeds returning an html 404 page

别等时光非礼了梦想. 提交于 2019-12-13 14:41:20
问题 Recently, don't know since when, when requesting an Istagram user feed via PHP (or just hit the URL via browser) i recieve a 404 error page ... in html: For instance, compare: https://api.instagram.com/v1/users/bigbangtheory_cbs/media/recent/ (404 error page, html) To: https://api.instagram.com/v1/tags/nerd https://api.instagram.com/v1/media/popular https://api.instagram.com/v1/media/search?lat=48.858844&lng=2.294351 (json feed / error message if not authenticated) Anyone else is experiencing

Formatting of Redirect URI in Instagram API Calls

无人久伴 提交于 2019-12-13 05:07:29
问题 I'm writing a python script using webpy to grab an authentication token for an Instagram user, and I keep bumping up against "Redirect URI doesn't match original redirect URI". It goes a little something like this: Step 1 The user first visits http://localhost:8081/join to click a button which sends them off to the Instagram login page, where they're asked to allow the app to access their feed: class GetCode: def POST(self): data = web.input() username = data.username #Get Code... sendData =