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

How to learn about new followers in real time? #138

Closed
epexa opened this issue Feb 23, 2017 · 2 comments
Closed

How to learn about new followers in real time? #138

epexa opened this issue Feb 23, 2017 · 2 comments

Comments

@epexa
Copy link

epexa commented Feb 23, 2017

@huttarichard Hello! You did a good job, thank you for this NodeJS package.

I have a question for you.
How best to implement notification of a new follower? If someone follower me, I want to know about it and send him a message.

I found similar issues: #42, #50, #129.

I think there are three ways:

  1. Check all "news inbox" on new followers every minute.
  2. Connect to instagram WebSocket (wss://telegraph-ash.instagram.com/rt).
  3. Connect to GCM.

How to make it better? If I have a lot of accounts, and to monitor them in real time.

@IvanMMM
Copy link
Collaborator

IvanMMM commented Feb 24, 2017

This websocket feature sounds very interesting, but I'm not sure about lot of concurrent websocket connections from node if using multiple accounts. But if you want real realtime, that's an only option.
Can you please provide more info about this websocket connection. May be there's s way to subscribe to multiply data feed using one connection.

@epexa
Copy link
Author

epexa commented Feb 24, 2017

@IvanMMM I have no information about the WebSocket.
I has implemented this is the first option (сheck all "news inbox" on new followers every minute).

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

3 participants