vendredi 7 juin 2019

Scheduling Tasks Of Authenticated user Laravel

I have an application that connects to the twitter api using thujohn/twitter package. I want a schedule that makes sure that at a certain time of the day everyday every user in my application tweets to his timeline. Now the issue with the package is that only an authenticated user can make a api call to twitter. The method is Twitter::postTweet() which will post whatever tweet passed in to the static function to the timeline of the authenticated user. How can I go around it and make sure i can call the method on all my users even if they are not authenticated at the scheduled time.

Here is the Twitter package where all the logic lies

I would appreciate any help whatsoever.



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2WK81ib
via IFTTT

Aucun commentaire:

Enregistrer un commentaire