-
-
Save kepatopoc/ca2b5643d480ecc2a56ac7dcc4cca391 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
r = requests.get('https://api.instagram.com/v1/users/search?q=mkispb&count=1&access_token=...') | |
user_id = None | |
for user in r.json()['data']: | |
if user['username'] == 'mkispb': | |
user_id = user['id'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment