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

Is there any way to post tweets? #2

Closed
ChristianOConnor opened this issue Apr 24, 2022 · 1 comment
Closed

Is there any way to post tweets? #2

ChristianOConnor opened this issue Apr 24, 2022 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ChristianOConnor
Copy link

Can you use this to post tweets? For example could you use this to do a post request to https://api.twitter.com/1.1/statuses/update.json?status=tweet goes here with the proper headers and HMAC-SHA1 signing? I think the curl for that looks like this:

curl --location --request POST 'https://api.twitter.com/1.1/statuses/update.json?status=tweet postman style one' \
--header 'Authorization: OAuth oauth_consumer_key="<CONSUMER KEY HERE>",oauth_token="<OAUTH TOKEN HERE>",oauth_signature_method="HMAC-SHA1",oauth_timestamp="<TIMESTAMP>",oauth_nonce="<NONCE HERE>",oauth_version="1.0",oauth_signature="SIGNATURE HERE"' \

How would you run this?

@ardasoyturk ardasoyturk added enhancement New feature or request good first issue Good for newcomers labels Apr 24, 2022
@ardasoyturk
Copy link
Owner

This worker is for fetching data from the Twitter API and it uses my own API key on production. I made this tool for my other project, Twitter Profile Viewer. It doesn't expose any API keys, sends the API request on the backend (with my key) and responds to you with the API response. I'd have to use your keys to post a tweet and it wouldn't make sense since you can just send a request directly to the Twitter API. In short, I won't add that feature to the worker. Thanks for your interest anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants