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

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -