FAQ Database Discussion Community
geolocation,instagram,instagram-api
Looking through Instagram's API documentation, you can pull photos based on a location-id, but as far as I can tell there's no instructions as to where you can find this id. Here's the relevant page on Instagram: https://instagram.com/developer/endpoints/locations/ If I just the LAT and LNG to get a geographic spot...
ios,objective-c,image,instagram,instagram-api
In my app i have to share image with text on Instagram without opening the Instagram app. I want to share it on a single touch. I found this 2 year old thread How to share an image on Instagram in iOS?. But it's saying that we have to open...
javascript,jquery,instagram
is there any way to retrieve images with a spesific hashtag from a spesific user from instagram with javascript or jQuery? If yes: how? I am using the following wordpress plugin: Instagram Feed and its possible to add custom javascript and jQuery. ...
javascript,instagram
So I've downloaded the instafeed.min.js file onto my machine. I am trying to include it in my HTML file and I do so as such: <script src ="instafeed.min.js", type = "text/javascript"> Which should be correct as both the JavaScript file and my HTML file are both in the same directory....
android,instagram,instagram-api
I am building my first Android App to download Images from Instagram API and up till now I am successful to achieve my first major task. Now I want to display full screen image of Thumbnail images received from Insta API but I am struggling to find the method/API Call....
php,json,instagram,instagram-api
While using an Instagram client_id API request like here: https://api.instagram.com/v1/users/{user-id}/media/recent/?client_id=YOUR-CLIENT_ID I can actually SEE both the image url and like-count in the JSON response, but can't figure out how to extract both. I can only seem to extract the image itself like so: <?php if (!empty($_GET['user_id'])){ $user_id = ($_GET['user_id']); //...
authentication,callback,instagram
So I know that instagram just did some API updates which I am trying to implement. But the very first step no longer seem to work: https://api.instagram.com/oauth/authorize/?client_id=CLIENT-ID&redirect_uri=REDIRECT-URI&response_type=code This very first step used to send you to a sign in page where you input your username and password, if you were...
instagram,instagram-api
I need to get number of Followers gained and lost or just the total followers during a selected time range. For example: if I send a request to: https://api.instagram.com/v1/users/3/ I will get this Json: { "data": { "username": "kevin", "bio": "CEO & Co-founder of Instagram", "website": "", "profile_picture": "https://instagramimages-a.akamaihd.net/profiles/profile_3_75sq_1325536697.jpg", "full_name":...
javascript,node.js,instagram,instagram-api
I tried to get access token without using browser request (by http.get() request ) using instagram-node module but I cant able to receive access token anyone please give me a solution for without browser interaction. var express = require("express"); var app = express(); var http = require('http') var api =...
android,instagram,access-token,android-volley
i use this code for post a request to instagram and get accesstoken. URL url = new URL(tokenURLString); HttpsURLConnection httpsURLConnection = (HttpsURLConnection) url.openConnection(); httpsURLConnection.setRequestMethod("POST"); httpsURLConnection.setDoInput(true); httpsURLConnection.setDoOutput(true); OutputStreamWriter outputStreamWriter = new OutputStreamWriter(httpsURLConnection.getOutputStream()); outputStreamWriter.write("client_id="+CI + "&client_secret="+ CS + "&grant_type=authorization_code" +...
instagram,instagram-api
I am trying to iterate over the user ID of each like for a given {media_id} https://api.instagram.com/v1/media/{media-id}/likes?access_token=ACCESS-TOKEN is returning something like this (a data array of approx 300 likes) { "data": [{ "username": "jack", "first_name": "Jack", "last_name": "Dorsey", "type": "user", "id": "66" }, { "username": "sammyjack", "first_name": "Sammy", "last_name": "Jack",...
api,instagram
I created an application on instagram, but when I try to authenticate with this command: https://instagram.com/oauth/authorize/?client_id=35af9cc4c85c40f4adb9370b81568a74&redirect_uri=http://www.minhaminha.com.br&response_type=code&scope=likes The scope "likes" not appear in autentication window. Does anyone know why? Thanks...
xcode,oauth,instagram,instagram-api
My app is able to get the AccessToken after the user logs into Instagram, and Instagram calls back to my app. I now want to get the user's information, most importantly his/her username. All I have is the access token. I couldn't find a call that gives the current user's...
java,android,http-headers,instagram
When creating my Android App I was struggling to like photo's on my feed, if I remember it correctly, the solution was to provide a Enforce Signed Header when creating the instagram object. However if I take a look in the API documentation it says: Important Note Your Client Secret...
python,api,python-2.7,instagram,instagram-api
Hello I trying out Instagram API using python and I am new to it. Hope you guys could take a look at it & help me out. I am wondering how to collect the date & time from users that have commented for each media id. I have tried using...
python,facebook,instagram
I'm using a raspberry b+ to create some files that i would like to post on FB and Instagram (my account or any account). I have a good industrial computer bckground but not for the "cloud" stuff. I seen the libs for python to connect to facebook and to instagram....
ruby-on-rails,ruby,ruby-on-rails-4,oauth,instagram
I need to allow users to authenticate with 3 Instagram accounts. I'm developing on Ruby On Rails and I'm using Instagram OAuth. In my Devise configuration I add config.omniauth :instagram, ENV['INSTAGRAM_client'], ENV['INSTAGRAM_secret'], {:scope => 'basic'}. This is only for one authentication. My question is how to setup 2 more different...
android,ruby,oauth,instagram
Using the Instagram rubygem and sinatra I am able to successfully authenticate via oauth from a small AngularJS app and use the Instagram API. Here are the relevant oauth routes from my sinatra app: get '/oauth/connect' do logger.info "going here " + (Instagram.authorize_url :redirect_uri => CALLBACK) redirect Instagram.authorize_url :redirect_uri =>...
api,instagram
So, I am trying to get a bunch of pictures from Instagram using their API. How can I specify the pictures I want to get, using both tags and location, not just one of them. I tried to go to the endpoints listed on Instagram page, but it does not...
python,instagram,instagram-api
Hello I'm playing with the python instagram API and I'm using this example: from instagram.client import InstagramAPI access_token = "YOUR_ACCESS_TOKEN" api = InstagramAPI(access_token=access_token) recent_media, next_ = api.tag_recent_media( count = 20, max_tag_id = '', tag_name = 'cats' ) ) for media in recent_media: print media.tags # attempt to get tags associated...
node.js,mongodb,express,mongoose,instagram
I'm having a problem saving items running through for loop if I attach any extra validation methods. Basically, I'm building an instagram API app that allows editors to remove photos that are unseemly. Photos are pulled from Instagram in batches of 20 and displayed to editors. If an editor clicks...
ios,facebook,swift,instagram
How can I open facebook and instagram app by tapping on button in Swift? In some apps by tapping on something it redirects to the facebook app and opens some page. How can I do the same thing in Swift? I found it, var url = NSURL(string: "itms://itunes.apple.com/de/app/x-gift/id839686104?mt=8&uo=4") if UIApplication.sharedApplication().canOpenURL(url!)...
instagram
I am using instagram login in my website. I get the username only from instagram. I can't get the email id to check with the already existing one in my database. Is there any way to get the email id?
php,json,wordpress,instagram,instagram-api
I'm trying to use the instagram api on a wordpress page. Given the following function to get the data, would anyone please point me why is my var_dump($results) return boolean false??? function fetchData($url){ $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_TIMEOUT, 20); $result = curl_exec($ch); curl_close($ch); return...
api,instagram,instagram-api
I have got this feed. https://api.instagram.com/v1/tags/.../media/recent?min_timestamp=1432429690&max_timestamp=1432429790&client_id=... But it still takes everything. So my question is, is there any option to get photos by hashtag by date?...
instagram,like,access-token,instagram-api
Since 3 or 4 days ago i'm not able to like any photos from any token, I think they blocked me to like. I still can follow/unfollow users via my application. I also can like photos via instagram iOS app. This is the error i have: "meta": { "error_type":"APINotAllowedError", "code":...
android,iphone,windows-phone-8,instagram,instagram-api
I am aware that the Instagram API was down a few hours ago, but it seems to be back up now. The problem is, when we post data to Instagram saying to like a specific photo, we get this error: {"meta":{"error_type":"APINotAllowedError","code":400,"error_message":"you cannot like this media"}} We have gotten this error...
javascript,angularjs,html5,instagram,instafeedjs
I need to show Instagram Image on a web page based on UserName and Tags After looking around and searching for such api i couldn't find which can allow me following Show Images based on User Account + Show images based on Tags (Single or multiple) I can use two...
php,api,instagram,instagram-api
$config = array( 'client_id' => '****', 'client_secret' => '****', 'grant_type' => 'authorization_code', 'redirect_uri' => 'https://example.com/order/', 'code' => $code, ); Since about 5-6 hours I'm getting this message when trying to authenticate: {"code": 400, "error_type": "OAuthException", "error_message": "No matching code found."} Nothing has been change on the site and everything seems...
php,html,twitter-bootstrap,instagram
I have successfully put an Instagram feed for a specific user on my website, but having very little experience with PHP I cannot figure out how to simply repeat the process. I'm looking to showcase two different users, side by side in one div. <?php // http://jelled.com/instagram/lookup-user-id/ $userid = "userid";...
ruby-on-rails,ruby,instagram,instagram-api
I'd like to fetch all my pictures using the instagram gem (https://github.com/Instagram/instagram-ruby-gem) but I'm not able to find out how. This is what I'm trying so far: client = Instagram.client(access_token: token) client.user_recent_media.each do |media| puts media.images.thumbnail.url end It apparently works (those are my Instagram images) but I'm not able to...
c#,instagram,instagram-api
I am not using a API but I have been looking into the API like a mad man trying to find some relevance to it. I am opening the website and downloading all of it at the moment to see if it contains "Page Not Found" but banned accounts also...
javascript,php,curl,instagram,instagram-api
I'm trying to make a post to instagram using this api and the POST method of relationships. Here is the side-server code I'm using: <?php $url = "https://api.instagram.com/v1/users/<user>/relationship"; $ips= (isset($_SERVER['SERVER_ADDR'])) ? $_SERVER['SERVER_ADDR'] : gethostbyname(gethostname()); $signature = (hash_hmac('sha256', $ips, '<secret>', false)); $join = join('|', array($ips, $signature)); $headerData = array('Accept: application/json'); $headerData[]...
ios,api,instagram,instagram-api
I am developing an iOS iPhone app using Instagram API, in which user allow to follow another user account using Instagram Relationship Api.But I am receiving below error all the time - Request api - https://api.instagram.com/v1/users/157xxxx469/relationship?access_token=169527xxxx.f71bc56.fb2a414a0ee7469ca381a3659f5cxxxx Response Received - {"meta":{"error_type":"OAuthPermissionsException","code":400,"error_message":"This request requires scope=relationships, but this access token is not authorized...
ios,instagram,instagram-api
Does Instagram API policy allows to use https://instagram.com/{user-id}/media/ endpoint to fetch latests media from iOS app. We tried to use documented api.instagram.com/v1/users/{user-id}/media/recent but it requires access token. By investigating Instagram web app I discovered that it is using endpoint from first link for fetching user's data....
javascript,json,angularjs,pagination,instagram
Working with the Instagram API trying to do pagination correctly. I have the following function, getMoreUsers, which, when fired, should push the next set of users into my $scope.followers variable, and then set the pagination variable to the new pagination URL provided in the returned JSON. $scope.getMoreUsers = function() {...
jquery,ajax,instagram,instagram-api
I have 2 problems. My ultimate goal is to make a request to Instagram and filter the images by tag. Instagram doesn't allow for more than 33 images at a time so right now I have an ajax inside of another. The first request gets images and then checks if...
javascript,jquery,json,instagram
I am trying to get a feed from Instagram using JSON and jQuery to pull specific hashtag images from one particular user - it has been crazy so far and all built from scratch.. now I am stuck - my loop keeps saying Undefined x This is my code //...
ruby,sinatra,instagram,instagram-api
I'm working with the Instagram gem and getting an unexpected bad request error when calling Instagram.user_recent_media. get '/api/photos' do client = Instagram.client(:access_token => session[:access_token]) puts 'access token: ' << session[:access_token].inspect id = params[:id] photos = Instagram.user_recent_media(id, {:max_id => params[:max_id]}) end It's throwing this error: Instagram::BadRequest - GET https://api.instagram.com/v1/users/35099128/media/recent.json?client_id=12345&max_id=: 400: you...
php,image,api,xpath,instagram
I am writing an app that gets analytical data from Instagram though it requires the submission of the of the image ID. Though the image ID from instagram can appear in various xpaths and various naming prefixes this example shows the image ID with the word 'frame' in front of...
instagram,endpoint,instagram-api
I've a url which gets the latest images posted in instagram with a hashtag, the problem with the url is if the images count are more than 20, it returns a max_tag_id, if i search with a hastag - #selfie, i get the max tag and main tag and the...
ruby-on-rails,instagram
I use instagram gem. I know how to get the image, likes and comments counts, but how can I get a photo Instagram Page URL? So, when I click on image it opens this image in the official Instagram page of this profile? <% @instagram.each do |instagram| %> <%= instagram.likes[:count]...
web-applications,instagram,instagram-api
I'm trying to make a call like $url = 'https://api.instagram.com/v1/tags/'.$tag.'/media/recent?client_id='.$client_id; but where the $tag is I want to pass in an emoji in order to get results back for emojis. I've tried ..... $tag = 'U+1F601'; $tag = '\xF0\x9F\x98\x81'; $tag = '\x{1F601}'; Any help would be appreciated...
php,wordpress,oop,pagination,instagram
The Code I've created a PHP class to communicate with Instagram's API. I am using a private function called api_request (shown below) to communicate with Instagram's API: private function api_request( $request = null ) { if ( is_null( $request ) ) { $request = $this->request["httpRequest"]; } $body = wp_remote_retrieve_body( wp_remote_get(...
python,instagram
I want to deal with instagram api, so I tried to handle it. But when I run this code, it makes error And this is an error message when I run it. Traceback (most recent call last): File "C:\Users\User\Desktop\Folder\sample_app.py", line 2, in <module> import beaker.middleware File "C:\Python34\lib\beaker\middleware.py", line 11, in...
php,instagram,stdclass
I am trying to retrieve the [followed_by] tag with this code. But it doesn't work. -- instagram returns : stdClass Object ( [meta] => stdClass Object ( [code] => 200 ) [data] => stdClass Object ( [username] => kenzasmg [bio] => Based in Paris | Twitter : @KenzaSMG | Facebook...
android,instagram
I'm building an android app which, although it has a completely different function, has a very similar UI to Instagram. There is a bottom bar with buttons for viewing timeline, posting (my app's content), checking notifications, and viewing your own profile. I am a fourth year electrical engineering student, but...
jquery,instagram,instagram-api
I am using instagram api and i am using below api:- https://api.instagram.com/v1/tags/{tag-name}/media/recent?access_token=ACCESS-TOKEN The output of instagram is as below:- { "data": [{ "type": "image", "users_in_photo": [], "filter": "Earlybird", "tags": ["snow"], "comments": { "data": [{ "created_time": "1296703540", "text": "Snow", "from": { "username": "emohatch", "username": "Dave", "id": "1242695" }, "id": "26589964" },...
api,callback,oauth-2.0,instagram
Hi I'm beginner programmer I'm trying to use instagram's realtime Photo Updates api My purpose is use this API CONSOLE's subscription method https://apigee.com/console/instagram But I can't understand and handle callback url What is the callback url's function? And How can I implement the callback url?...
iframe,instagram
I would be really, really happy if someone could help me with removing the click (link) option from this iframe. I just want the image to be not clickable. <iframe src="http://snapwidget.com/in/?u=bW9sbGVrcnVrbWFrZXJpfGlufDI1MHwxfDF8fG5vfDB8bm9uZXxvblN0YXJ0fG5vfG5v&ve=120215" title="Instagram Widget" class="snapwidget-widget" allowTransparency="true" frameborder="0" scrolling="no" style="border:none; overflow:hidden; width:200px; height:200px"></iframe> ...
android,android-fragments,tabs,instagram,fragmentmanager
So basically what I'm working on is very similar to Instagram application, where there're a number of tabs and users can switch to any tab without any delay no matter what there's anything going on, such as refreshing, reloading, and etc. It also uses back button to go back to...
instagram,instagram-api
I have googled for several hours but I didn't find any article and documentation related to instagram shared button on the web. Does it have or not? Please help!!!
instagram,instagram-api
I am calling instagram's API with this URL https://api.instagram.com/v1/users/search?q=mtv&count=1&client_id=add38d4ea81e4665962b939c96a929a3&count=1 It's supposed to respond with the username 'mtv' as specified in the q parameter, but the JSON response returns the username 'mtvbrasil' {"meta":{"code":200},"data":[{"username":"mtvbrasil","profile_picture":"https:\/\/instagramimages-a.akamaihd.net\/profiles\/profile_43768325_75sq_1380500869.jpg","id":"43768325","full_name":"MTV Brasil"}]} ...
javascript,angularjs,instagram,ng-bind-html
I'm trying to embed an Instagram profile: $scope.instagram = "<blockquote class=\"instagram-media\" data-instgrm-version=\"4\" style=\" background:#FFF; border:0; border-radius:3px; box-shadow:0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15); margin: 1px; max-width:658px; padding:0; width:99.375%; width:-webkit-calc(100% - 2px); width:calc(100% - 2px);\"><div style=\"padding:8px;\"> <div style=\" background:#F8F8F8; line-height:0; margin-top:40px; padding:50% 0; text-align:center; width:100%;\"> <div style=\"...