Skip to content Skip to sidebar Skip to footer

Instagram Invalid Response Error - 400

I have the following code. params = {'client_id':settings.SOCIAL_AUTH_INSTAGRAM_KEY, 'client_secret':settings.SOCIAL_AUTH_INSTAGRAM_SECRET, 'aspect'

Solution 1:

This was because Instagram sends a GET request to my callback_url and wants me to response with hub.challenge parameter like below

    if self.request.GET:
            response = request.GET.get('hub.challenge')
            return HttpResponse(response)

Post a Comment for "Instagram Invalid Response Error - 400"