Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate twitter accounts when submitting a new blog
Do this by connecting to the twitter API and actually validate both that the account exists, and that it's not protected. Protected accounts will cause the follower-sync script to keep trying over and over again for following, and there's not any point in promoting those anyway. This adds a dependency on requests_oauthlib, but that's already used in other pgweb projects so shouldn't be a problem.
- Loading branch information
Showing
2 changed files
with
47 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters