feat(Backend): 🎨 Add sample script to get all user tweets#8
feat(Backend): 🎨 Add sample script to get all user tweets#8foad-heidari wants to merge 1 commit into
Conversation
farnoodma
left a comment
There was a problem hiding this comment.
Hey @foad-heidari, hope you are fine.
I believe we can have a better and easier approach, Twitter supports search API that you can pass the author ID and search through their tweets. Now, in CelebrityWall we can do this in real-time, which means each time you open the profile of a celebrity, we call Twitter and get the latest results right away, even an Iframe would work. This way we won't need any DB. Even if we want to make it better performance-wise, we can just cache our requests to Twitter. What do you think?
On another note, I'm not sure if this feature is required or not, because we save the referenced tweet that shows the celebrity's status, so we have the content. If the celebrity has not yet reacted to the incident, then there won't be any need to show any tweet. CC @firiz
Hey @farnoodma I did try it out, but i need to verify mi account before can access twitter Search API. if i ma wrong please let me know, the i can change the code |
|
@foad-heidari we do have a Twitter bot, so we can use it for production, for development purposes, I believe you can join Twitter developers and verify your phone number. If you are in Iran, I recommend asking someone to provide you with one. |
TODO: