Where do I find the Instagram media ID of a image

Here’s a better way: http://api.instagram.com/oembed?url=http://instagram.com/p/Y7GF-5vftL/ Render as json object and you can easily extract media id from it — For instance, in PHP $api = file_get_contents(“http://api.instagram.com/oembed?url=http://instagram.com/p/Y7‌​GF-5vftL/”); $apiObj = json_decode($api,true); $media_id = $apiObj[‘media_id’]; For instance, in JS $.ajax({ type: ‘GET’, url: ‘http://api.instagram.com/oembed?callback=&url=http://instagram.com/p/Y7GF-5vftL‌​/’, cache: false, dataType: ‘jsonp’, success: function(data) { try{ var media_id = data[0].media_id; }catch(err){} } … Read more

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

The query_hash does not change, at least in the past few days. It indicate what TYPE of query it is. Below listed 4 query types I knew, hope these help. Load more media under https://www.instagram.com/someone/?__a=1 https://www.instagram.com/graphql/query/?query_hash=472f257a40c653c64c666ce877d59d2b&variables={“id”:”93024″,”first”:12,”after”:”XXXXXXXX”} (Instagram blocked the above access since 2018-04-12. You have to remove the __a=1 and extract the JSON inside a … Read more

ReferenceError getValuesOfAutofillInputs, Can’t find variable: PaymentAutofillConfig

As you have already searched for getValuesOfAutofillInputs and PaymentAutofillConfig without any results, it is possible that this issue might be related to how Facebook’s webview handles autofill features for payment information. Try this steps: – Replicate the issue: Try to reproduce the issue on multiple iOS devices and different versions of the Facebook and Instagram … Read more

Intent to open Instagram user profile on Android

I solved this problem using the following code. Uri uri = Uri.parse(“http://instagram.com/_u/xxx”); Intent likeIng = new Intent(Intent.ACTION_VIEW, uri); likeIng.setPackage(“com.instagram.android”); try { startActivity(likeIng); } catch (ActivityNotFoundException e) { startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(“http://instagram.com/xxx”))); }

Instagram API: How to get all user media?

You’re right, the Instagram API will only return 20 images per call. So you’ll have to use the pagination feature. If you’re trying to use the API console. You’ll want to first allow the API console to authenticate via your Instagram login. To do this you’ll want to select OAUTH2 under the Authentication dropdown. Once … Read more

tech