twitter-oauth-django
Create UserSocialAuth of social_django with OAuth login with twitter-kit-ios.
Supported python versions
3.4, 3.5, 3.6
Supported django versions
2.0.x
Installation
$ pip install twitter-oauth-ios-django
Add twitter_oauth_ios into INSTALLED_APPS in your settings.py file
INSTALLED_APPS = [
...,
'social_django',
'twitter_oauth_ios',
]
Add twitter_oauth_ios routing in urls.py file
from django.urls import include, path
urlpatterns = [
...,
path('twitter_oauth/', include('twitter_oauth_ios.urls', namespace='twitter_oauth_ios')),
]
Sample request
$ curl -X PUT http://example.com/twitter_oauth/ \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d \
"{
'user_id': 1111111111,
'oauth_token': '1111111111-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
'oauth_token_secret': 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
'screen_name': 'sample_screen_name',
'display_name': 'display_name'
}",
Dependence libraries
Django
social-auth-app-django
LICENSE
Copyright (c) 2018 Yuya Oka Released under the MIT license (see LICENSE)
Metadata
Release files for twitter-oauth-ios-django 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| twitter-oauth-ios-django-1.0.3.tar.gz | 7.0 kB | Without provenance | Details for twitter-oauth-ios-django-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| twitter_oauth_ios_django-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for twitter_oauth_ios_django-1.0.3-py3-none-any.whl |
Total release size: 15.9 kB
Release files / twitter-oauth-ios-django-1.0.3.tar.gz
| Download URL | twitter-oauth-ios-django-1.0.3.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27c4e71eebbf5657edf4dea65786c26ed1cfe4ccda4fe6c8d00b1bc834a56196
|
|
BLAKE2b-256 checksum How to use checksums |
6a21f7d5eca70190eafa4e627931c135fa2d3c3449f9dba4916211386e73fd4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0
|
Release files / twitter_oauth_ios_django-1.0.3-py3-none-any.whl
| Download URL | twitter_oauth_ios_django-1.0.3-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
87441f833ba28706f26b70278a283102582adc3d38296d2868fa7ba737203e1c
|
|
BLAKE2b-256 checksum How to use checksums |
60a537cd523abf726035764cb2ea17c3ab1cd581ea41485944d200fca6ed1020
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0
|
Security for twitter-oauth-ios-django 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.