Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change twitter url to v2! #1

Open
dxphilo opened this issue Aug 8, 2024 · 2 comments
Open

Change twitter url to v2! #1

dxphilo opened this issue Aug 8, 2024 · 2 comments

Comments

@dxphilo
Copy link

dxphilo commented Aug 8, 2024

I was toying around with this lib and thanks for publishing it!

While setting my environment, I came across the error Err(TwitterBotError("You currently have access to a subset of Twitter API v2 endpoints and limited v1.1 endpoints (e.g. media post, oauth) only. If you need access to this endpoint, you may need a different access level. You can learn more here: https://developer.twitter.com/en/portal/product"))

It looks like twitter has changed the url to /v2/tweets according to some discussions here.

It would be nice if the change is reflected in the lib. or provide an Option for providing a different URL.

Thanks, Phil.

@lowczarc
Copy link
Owner

I'm not really maintaining this lib anymore and I didn't buy the twitter/X API access so I wouldn't be able to test it :/

If you can make a PR I will merge it. But frankly I don't know if I would recommend using a lib where the maintainer cannot even test their code lol

@dxphilo
Copy link
Author

dxphilo commented Aug 12, 2024

Thanks for getting back on this.

I cloned your lib and made some changes locally and got it working.

If I find other use cases, I might reach out and make changes and maybe add some test.

Thanks for the code it saved me some time. 👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants