instaR icon indicating copy to clipboard operation
instaR copied to clipboard

{"error_type": "OAuthException", "code": 400, "error_message": "Redirect URI does not match registered redirect URI"}

Open alezonin opened this issue 8 years ago • 0 comments

After registering a client in Instagram and having back my Client ID and Client Secret I got this error.

{"error_type": "OAuthException", "code": 400, "error_message": "Redirect URI does not match registered redirect URI"}

The script used is this (app_id and app_secret are fictitious)

install.packages("instaR")
library(instaR)


my_oauth <- instaOAuth(app_id="xxxxxxxx", app_secret="yyyyyyyy")
save(my_oauth, file="my_oauth")

alessandrozonin <- getUserMedia( username="alessandrozonin", token=my_oauth )
comments <- getComments( alessandrozonin$id[1], token=my_oauth )

thank you for your time

alezonin avatar Dec 31 '17 14:12 alezonin