How to open fb and instagram app by tapping on button in Swift

Update for Swift 4 and iOS 10+ OK, there are two easy steps to achieve this in Swift 3: First, you have to modify Info.plist to list instagram and facebook with LSApplicationQueriesSchemes. Simply open Info.plist as a Source Code, and paste this: <key>LSApplicationQueriesSchemes</key> <array> <string>instagram</string> <string>fb</string> </array> After that, you can open instagram and facebook … Read more

Posting video on instagram using hooks

Instagram’s API doesn’t directly support uploading anything from 3rd party applications. Therefore you have to do some ugly user experience compromises when providing the functionality to your users. First, Prepare the video you want to upload to Instagram and store the path to it somewhere Second, Save it to the user’s Camera Roll: if (UIVideoAtPathIsCompatibleWithSavedPhotosAlbum(filePath)) … Read more

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

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{“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

Instagram API – How can I retrieve the list of people a user is following on Instagram

Shiva’s answer doesn’t apply anymore. The API call “/users/{user-id}/follows” is not supported by Instagram for some time (it was disabled in 2016). For a while you were able to get only your own followers/followings with “/users/self/follows” endpoint, but Instagram disabled that feature in April 2018 (with the Cambridge Analytica issue). You can read about it … Read more

Filling in login forms in Instagram using selenium and webdriver (chrome) python OSX

There is a trick in this, instead of searching for the Button (Log In) there is a better way to log in without it. how? let’s see: Import the packages you need: from selenium import webdriver from selenium.webdriver.common.keys import Keys from time import sleep #Select the driver, In our case we will use Chrome. chromedriver_path=”chromedriver.exe” … Read more

CasperJS bind issue

The shim below isn’t needed anymore if PhantomJS 2 is used. Sadly CasperJS 1.1-beta3 doesn’t support it yet, so you might want to use the master branch from GitHub. The problem is that PhantomJS v1.x does not support the Function.prototype.bind. You need to add a shim for that. In CasperJS it goes into the page.initialized … Read more