ethomson / send-tweet-action

Send a tweet from a GitHub Action
MIT License
83 stars 8 forks source link

Update to use API v2 endpoint? #28

Open chrisfizik opened 1 year ago

chrisfizik commented 1 year ago

Not exactly clear what's involved or what the timeline is from Twitter but could you update this to use the v2 API endpoint or make a second function to do that? (with bearer token instead of consumer? I don't really get it)

Thanks if you're lookin at this!

kootsoop commented 1 year ago

My use of this just stopped working, and it's not clear what the issue is? Perhaps updating to v2 will improve?

chrisfizik commented 1 year ago

My use of this just stopped working, and it's not clear what the issue is? Perhaps updating to v2 will improve?

Hm, yeah, not sure it'll work since they've deprecated some v1 endpoints a month ago........ was it working the last few weeks? They've been breaking some things along the way sporadically a few times recently too. One thing to check might be in developer.twitter.com whether your project is inside a defined "Project" and isn't just listed as "standalone". You can create a project and add your app to it if it isn't. That cleared up recent problems for many.

Other than that I've had to move on from this Action as another one had the ability already to use v2 endpoints without much editing. I made the change in anticipation of the twitter changes tho to avoid downtime so not sure if it still works or what.

z0ph commented 1 year ago

Other than that I've had to move on from this Action as another one had the ability already to use v2 endpoints without much editing. I made the change in anticipation of the twitter changes tho to avoid downtime so not sure if it still works or what.

Which one?

z0ph commented 1 year ago

nearform-actions/github-action-notify-twitter seems to be working.

ReenigneArcher commented 1 month ago

nearform-actions/github-action-notify-twitter seems to be working.

@z0ph is this one still working for you? I'm getting 403 errors with it.

martinsda commented 1 month ago

Also had to change to https://github.com/nearform-actions/github-action-notify-twitter and worked like a charm.