Invalid format for callback url - Instagram API and python requests library
问题 I have the following code to get the images from urls params = {'client_id':settings.SOCIAL_AUTH_INSTAGRAM_KEY, 'client_secret':settings.SOCIAL_AUTH_INSTAGRAM_SECRET, 'aspect':'media', 'object_id':instance.hashtag, 'callback_url':'http://localhost:8000/campaigns/hook'} response = requests.post('https://api.instagram.com/v1/subscriptions/', params=params) I am using the requests library for sending the post request. But It returns the error message "Invalid format for \"callback_url\". URL