I created a real-time subscription using the following curl call
curl -F 'client_id=xxxxxxxxxxxxxx' \ -F 'client_secret=xxxxxxxxxxxxx' \ -F 'object=tag' \ -F 'aspect=media' \ -F 'object_id=socialjohn' \ -F 'callback_url=http://xxx.xxx.xxx.xxx/realtime/instagram' https://api.instagram.com/v1/subscriptions/
I get a successful 200OK response from Instagram
{ "meta": { "code": 200 }, "data": { "object": "tag", "object_id": "socialjohn", "aspect": "media", "callback_url": "http:\/\/xxxxxxxx\/realtime\/instagram", "type": "subscription", "id": "xxxxxxxxx" } }
When I post a picture on Instagram with hashtag #socialjohn, I don't see a notification for the tag coming though.
I have the same problem when I created a user subscription. I do not receive real-time notifications for the user. I made a GET subscription after posting the image to ensure that my subscriptions will not be deleted by Instagram. The GET call was successful with 200 OK, and the body containing all the subscriptions I subscribed to.
To check if something suspicious is happening, I created a subscription to a high volume tag, such as #galaxy or #smile, and I see that I am receiving real-time notifications.
Has anyone experienced the same issue? Is there something I donβt see here or what should I do to receive notifications
Resolution: After talking with Instagram support, we decided to use the survey model to retrieve Instagram posts. The API seems unreliable and does not seem to scale very well.
source share