Get pending messages
amirpdlll opened this issue · comments
Hello ;
Is there a way to get pending messages in real time ?
thanks
This is done with the regular api. It's the directPending feed.
thank you ,
For approving all directs and reading them which is the proper way ?
- after ig.login I create a while with sleep (delay) and read pending directs every 1 minute
2.I create a crontab or cronjob and lauch all the approve.js file every one minute?
thank you
1. after ig.login I create a while with sleep (delay) and read pending directs every 1 minute
That's ok, there's probably a way of using FBNS for that, but this solution will work, you might have to increase the delay a bit.
1. after ig.login I create a while with sleep (delay) and read pending directs every 1 minute
That's ok, there's probably a way of using FBNS for that, but this solution will work, you might have to increase the delay a bit.
thank you so much ;)
1. after ig.login I create a while with sleep (delay) and read pending directs every 1 minute
That's ok, there's probably a way of using FBNS for that, but this solution will work, you might have to increase the delay a bit.
is it better to make random delay ? between 1 and 2 minutes ?
1. after ig.login I create a while with sleep (delay) and read pending directs every 1 minute
That's ok, there's probably a way of using FBNS for that, but this solution will work, you might have to increase the delay a bit.
is it better to make random delay ? between 1 and 2 minutes ?
I've used 2min in the past but longer/random delays are not bad.