I have the following code.
params = {\'client_id\':settings.SOCIAL_AUTH_INSTAGRAM_KEY, \'client_secret\':settings.SOCIAL_AUTH_INSTAGRAM_SECRET,
This was because Instagram sends a GET request to my callback_url and wants me to response with hub.challenge parameter like below
hub.challenge
if self.request.GET: response = request.GET.get('hub.challenge') return HttpResponse(response)