Open stefi-says opened 1 year ago
@stefi-says from my review, it looks like you would need at least a basic account to search for tweets and a pro to review archival data. I looked at the API documentation and noticed the pricing/ access. Do you have the Free/Basic access?
@baokiddy I have a free one . I got confused because here on this page it does not specify wich type of account I would need , only the developer account with the APP Keys and so on.
Using the tweepy library may be useful here as it will abstract the complexity of writing the requests and handling all the error cases. https://github.com/tweepy/tweepy Documentation for API v2: https://docs.tweepy.org/en/latest/client.html I would recommend using this as it is the last one and the project is just starting. An example I pushed is available here, please set your environment variable using the template.env and rename it to .env and verify the requirements. https://github.com/poupou-web3/Mirall0x/blob/main/main/main/twitter.ipynb With the free tier only 3 endpoints are available. Using the basic tier should be enough.
@gus-araujo is working on the issue
From users feedback, been able to verifiy basic twitter information is keen. but we had no sucesss acessing the APi and using the possible endpoint that would retrive the information '2/users '( "https://api.twitter.com/2/users/by") attached there is a text file with the code ( an example from the twitter examples folder on their github) The error received was : 403 - user forbitten
example code twitter_pipeline.txt Any feedback on the code? Is this the right path to get a data pipeline and retrieve users informations like : creation_date , number_of_users , a ditribution of number of tweets trought time?
if you dont have a twitter developer account and know ho to help, reach to @stefi-says so you can schedule a meeting and she can pass app credentials . thenaks