Skip to content

Amend Twitter client#15

Open
c-m-hunt wants to merge 6 commits intoNathanDeMaria:mainfrom
c-m-hunt:amend-twitter-client
Open

Amend Twitter client#15
c-m-hunt wants to merge 6 commits intoNathanDeMaria:mainfrom
c-m-hunt:amend-twitter-client

Conversation

@c-m-hunt
Copy link
Copy Markdown

@c-m-hunt c-m-hunt commented Oct 5, 2019

  • Use Twitter API rather than scraping. Ensures we can always get media if available
  • Amend size check to always get to under threshold

Copy link
Copy Markdown
Owner

@NathanDeMaria NathanDeMaria left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Closes #14 and #15. Tested 14 with create_gif https://twitter.com/Nikichole13/status/1187189815156072450 b/c the original example locked down their Twitter account

Comment thread README.md
## Setup and Installation
### Set up Twitter creds
* Generate access token. Full instructions at https://developer.twitter.com/en/docs/basics/authentication/guides/access-tokens
* Copy `twitter_creds.dist.json` to `twitter_creds.json`
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to put it in data/twitter_creds.json. Sound right?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Successfully merging this pull request may close these issues.

2 participants