Create UserSocialAuth of social_django with OAuth login with twitter-kit-ios.
Project description
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)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file twitter-oauth-ios-django-1.0.3.tar.gz.
File metadata
- Download URL: twitter-oauth-ios-django-1.0.3.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27c4e71eebbf5657edf4dea65786c26ed1cfe4ccda4fe6c8d00b1bc834a56196
|
|
| MD5 |
e80c86beb64e9610c2ce6d31398bbda7
|
|
| BLAKE2b-256 |
6a21f7d5eca70190eafa4e627931c135fa2d3c3449f9dba4916211386e73fd4c
|
File details
Details for the file twitter_oauth_ios_django-1.0.3-py3-none-any.whl.
File metadata
- Download URL: twitter_oauth_ios_django-1.0.3-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87441f833ba28706f26b70278a283102582adc3d38296d2868fa7ba737203e1c
|
|
| MD5 |
eae9f3296f77cf4b89ff7e7123bd13f2
|
|
| BLAKE2b-256 |
60a537cd523abf726035764cb2ea17c3ab1cd581ea41485944d200fca6ed1020
|