All Projects → pabluk → Twitter Application Only Auth

pabluk / Twitter Application Only Auth

A simple Python implementation of the Twitter Application-only authentication

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Twitter Application Only Auth

Hackathon Starter Kit
A Node-Typescript/Express Boilerplate with Authentication(Local, Github, Facebook, Twitter, Google, Dropbox, LinkedIn, Discord, Slack), Authorization, and CRUD functionality + PWA Support!
Stars: ✭ 242 (+505%)
Mutual labels:  oauth2, twitter
Assent
Multi-provider framework in Elixir
Stars: ✭ 126 (+215%)
Mutual labels:  oauth2, twitter
Pow assent
Multi-provider authentication for your Pow enabled app
Stars: ✭ 236 (+490%)
Mutual labels:  oauth2, twitter
anontwi
Anontwi is a tool for OAuth2 applications (such as: GNUSocial, Twitter) that provides different layers of encryption, privacy methods and proxy features.
Stars: ✭ 26 (-35%)
Mutual labels:  oauth2, twitter
Timeliner
In general, Timeliner obtains items from data sources and stores them in a timeline.
Stars: ✭ 2,911 (+7177.5%)
Mutual labels:  oauth2, twitter
Sns auth
通用第三方登录SDK,支持微信,微信扫码,QQ,微博登录,支付宝登录,Facebook,Line,Twitter,Google
Stars: ✭ 520 (+1200%)
Mutual labels:  oauth2, twitter
Auth
:atom: Social (OAuth1\OAuth2\OpenID\OpenIDConnect) sign with PHP
Stars: ✭ 457 (+1042.5%)
Mutual labels:  oauth2, twitter
Ueberauth twitter
Twitter Strategy for Überauth
Stars: ✭ 31 (-22.5%)
Mutual labels:  oauth2, twitter
Altair
Lightweight and Robust API Gateway written in Go
Stars: ✭ 34 (-15%)
Mutual labels:  oauth2
Sample Vertx Microservices
Two applications in different branches illustrates how to create asynchronous microservices with Vert.x, Consul and MongoDB, and how to secure them with Vert.x OAuth2 module and Keycloak
Stars: ✭ 37 (-7.5%)
Mutual labels:  oauth2
App
The SimpleLogin back-end
Stars: ✭ 958 (+2295%)
Mutual labels:  oauth2
Fake Oauth2 Server
An OAuth2 server implementation to be used for testing
Stars: ✭ 34 (-15%)
Mutual labels:  oauth2
React Native Linkedin Sdk
React Native Wrapper for Latest LinkedIn Mobile SDK for Sign-In / Auth and API Access.
Stars: ✭ 37 (-7.5%)
Mutual labels:  oauth2
Badusb botnet
👥😈 Infect a pc with badusb and establish a connection through telegram.
Stars: ✭ 32 (-20%)
Mutual labels:  twitter
Fact Bot
Twitter bot dedicated to tweeting interesting facts daily
Stars: ✭ 40 (+0%)
Mutual labels:  twitter
Twitter Downloader Telegram Bot
🤖 Telegram bot for download video from twitter.
Stars: ✭ 37 (-7.5%)
Mutual labels:  twitter
Pig
🚀 The best rbac web framework. base on Spring Boot 2.4、 Spring Cloud 2020、 OAuth2 . Thx Give a star
Stars: ✭ 958 (+2295%)
Mutual labels:  oauth2
Django Rest Apis
Sample Django App using Twitter Sign in (OAuth) and REST APIs.
Stars: ✭ 40 (+0%)
Mutual labels:  twitter
Chirp
🔬Visualise Twitter Interactions
Stars: ✭ 40 (+0%)
Mutual labels:  twitter
Go Starter
An opinionated production-ready SQL-/Swagger-first RESTful JSON API written in Go, highly integrated with VSCode DevContainers by allaboutapps.
Stars: ✭ 37 (-7.5%)
Mutual labels:  oauth2

twitter-application-only-auth

A simple implementation of the Twitter Application-only authentication https://developer.twitter.com/en/docs/basics/authentication/overview/application-only that offers applications the ability to issue authenticated requests on behalf of the application itself (as opposed to on behalf of a specific user).

Tested with Python 2.7, 3.5, 3.6 and 3.7

Build Status Coverage Status

Install

pip install twitter-application-only-auth

Usage

import json
from application_only_auth import Client

# The consumer secret is an example and will not work for real requests
# To register an app visit https://dev.twitter.com/apps/new
CONSUMER_KEY = 'xvz1evFS4wEEPTGEFPHBog'
CONSUMER_SECRET = 'L8qq9PZyRg6ieKGEKhZolGC0vJWLw8iEJ88DRdyOg'

client = Client(CONSUMER_KEY, CONSUMER_SECRET)

# Pretty print of tweet payload
tweet = client.request('https://api.twitter.com/1.1/statuses/show.json?id=316683059296624640')
print(json.dumps(tweet, sort_keys=True, indent=4, separators=(',', ':')))

# Show rate limit status for this application
status = client.rate_limit_status()
print(status['resources']['search'])

Real-World use cases

Authors and contributors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].