Invalid URL for Subscription API: Instagram -
i'm attempting test real-time instagram stream using subscription api, having trouble setting subscriptions local testing.
i attempted using localhost:8080
callback_url , editing /etc/hosts file (redirecting localhost
local.machine.com
)
eventually, able set subscription home's ip address receive callbacks instagram.
the ip address in form: xxx.xxx.xxx.xx:8080
however, morning, trying different ip address in form xxx.xxx.x.xx:8080
has continuously led instagram returning 400: bad request: invalid url
does have insight instagram treats valid url parameter subscriptions?
i recommend ngrok this.
it allows set tunnel between local machine , internet.
with ngrok can on command line this:
ngrok http 8080
that give url this: http://something.ngrok.io
. in terminal window can inspect traffic through tunnel.
Comments
Post a Comment