问题
This issue has been posted many times before but I haven't found a solution yet. I've contacted Instagram Developer support but a week later I've still had no luck or a response form them so hoping someone here can help me out. My app has been approved by Instagram for basic permissions.
Doing a Form POST to https://api.instagram.com/v1/subscriptions/ with all the relevant data (callback_url, object=user, aspect=media, verify_token, client_secret, client_id) to create a subscription for Instagram User Subscriptions yields the error: APISubscriptionError - Unable to reach callback URL
- The callback URL I'm using has logging on it to log all requests which works when accessed directly via a browser. Using the logs I can see Instagram isn't even reached my callback URL.
- The callback URL is accessible publicly over the internet and the domain is being used in production.
- The callback URL implements both GET and POST methods (even PUT just in case).
- Worked a few weeks ago using a UAT URL.
- The callback URL still returns the 'Unable to reach callback URL' with http or https.
- I've changed IP addresses, used a VPN and run the post script form different locations.
- Tried different parts eg domain.com/instagram/subscriptions or domain.com/instagramsubscriptions -Tried a different sub domain and different URL.
- Have deleted all subscriptions using the DELETE request
Any help or suggestions would be greatly appreciated.
来源:https://stackoverflow.com/questions/41993689/instagram-subscription-unable-to-reach-callback-url-ongoing