I\'m am looking for the MediaID of an Instagram image which has been uploaded. It should look like
MediaID
1234567894561231236_33215652
Same thing you can implement in Python-
import requests,json def get_media_id(media_url): url = 'https://api.instagram.com/oembed/?callback=&url=' + media_url response = requests.get(url).json() print(response['media_id']) get_media_id('MEDIA_URL')