Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is add_tag_subscription still supported? #109

Open
lukechilds opened this issue Feb 16, 2017 · 3 comments
Open

Is add_tag_subscription still supported? #109

lukechilds opened this issue Feb 16, 2017 · 3 comments

Comments

@lukechilds
Copy link

I'm trying to subscribe to new hashtag posts. It looks like this should be supported with add_tag_subscription however I always get an APISubscriptionError.

> ig.add_tag_subscription('test', 'https://requestb.in/1i1e0fi1', console.log)
undefined
> { Error: APISubscriptionError: Unable to reach callback URL "https://requestb.in/1i1e0fi1".
    at handle_error (/Users/lukechilds/Dev/laserred/projects/show-tell-instagram/node_modules/instagram-node/lib/instagram.js:242:19)
    at /Users/lukechilds/Dev/laserred/projects/show-tell-instagram/node_modules/instagram-node/lib/instagram.js:1588:16
    at IncomingMessage.<anonymous> (/Users/lukechilds/Dev/laserred/projects/show-tell-instagram/node_modules/instagram-node/lib/instagram.js:197:18)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:974:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickDomainCallback (internal/process/next_tick.js:122:9)
  code: 400,
  error_type: 'APISubscriptionError',
  error_message: 'Unable to reach callback URL "https://requestb.in/1i1e0fi1".',
  retry: [Function: retry] }

https://requestb.in/1i1e0fi1 never gets hit.

The subscription docs linked to in your readme have been removed: https://www.instagram.com/developer/realtime/

However this page still exists on the IG docs: https://www.instagram.com/developer/subscriptions/

Although it doesn't mention anything about tags, just users.

So is add_tag_subscription still supported? Am I doing something stupid or has Instagram dropped this support from their API?

@tuancg93
Copy link

@lukechilds did you fix this
me too . help me

@lukechilds
Copy link
Author

@tuancg93 sorry, no I didn't. I needed a quick solution so resorted to just polling the API and checking if the latest post had changed.

@tuancg93
Copy link

tuancg93 commented Jan 2, 2018

@lukechilds yes. i didn't subcription app and page
My error : APISubscriptionError", "error_message": "Challenge verification failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants