Skip to content

Can you test tweepy in a Sandboxed twitter environment #1903

Answered by Harmon758
tvdsluijs asked this question in Questions
Discussion options

You must be logged in to vote

With Elevated access, you can have 3 App environments (development, staging, production) per Project.

https://developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api
https://blog.twitter.com/developer/en_us/topics/tools/2021/build-whats-next-with-the-new-twitter-developer-platform

You'll still need an account to Tweet with. Otherwise, I'm not sure how you expect to test Tweeting without actually Tweeting or what "environment" you're asking for. At the very least, you would need to record (or mock) a response from an actual call to the API to replay, like Tweepy does for its tests.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Harmon758
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question This is a question
2 participants