• Stars
    star
    109
  • Rank 319,077 (Top 7 %)
  • Language
    Python
  • Created almost 12 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

模拟登陆->授权->获取access_token,目前支持人人、新浪微博、腾讯微博

Social-Auth-Simulator

###中文名:

社交网络自动化认证

###目标:

脱离浏览器,提供自动化授权和获取access_token的解决方案。

###进展:

  • 豆瓣开发中...
  • 支持腾讯微博(2013-05-31)
  • 支持Renren(2013-05-30)
  • 支持Weibo (2013-01-18)

###演示:

App想要获取某个用户的授权,得到access_token,而后获取用户社交网络数据

常规做法:弹出浏览器->请求网页->用户输入密码->获取access_token

来吧,让我们来自动化这一切:用户输入密码->获取token

看个人人获取token的例子:

from renren import RenrenAutoAuth

api = RenrenAutoAuth('你的app Id','你的 app Key','你的app secret','你的app redirect uri','人人账号','人人密码')

print api.get_access_token()

如何,是否够精简?

###什么?你有些担心?!

我想你一定有些担心,你的程序语言不是python,没有关系,我还提供了php/server端认证,只要你把php文件部署在server端,不论什么语言,构造query数据发送到服务器,自动化认证和授权就交给服务器吧,最终像获取网页数据一样得到accesss_tokenjson数据。

并且 http://autoauth.sinaapp.com/weibo 长期服务,您可放心使用,使用方式,如下图:

###还在犹豫什么?投入使用吧!

###关于我: 我是个学生,酷爱开发,擅长Android、php、python、nodejs、web,如果您手头有适合我的实习机会,欢迎邮件联系我: daimajia#gmail.com

你也可以留意我的Android项目

More Repositories

1

AndroidViewAnimations

Cute view animation collection.
Java
12,422
star
2

AndroidSwipeLayout

The Most Powerful Swipe Layout!
Java
12,373
star
3

NumberProgressBar

A beautiful, slim Android ProgressBar.
Java
6,066
star
4

AndroidImageSlider

An amazing and convenient Android image slider.
Java
5,629
star
5

AndroidViewHover

An elegant way to show your menu or messages.
Java
3,208
star
6

AnimationEasingFunctions

Android Animation Easing Functions. Let's make animation more real!
Java
2,469
star
7

AnimeTaste

Taste global original animation
Java
1,624
star
8

EverMemo

Fast Record,Organize,and Share. The android memo app you will deeply love. ❤
Java
798
star
9

bleed-baidu-white

榨干百度网盘的剩余价值
Python
466
star
10

revenge

联手对抗臭长广告
JavaScript
307
star
11

little-bear-dictionary

This will be the most powerful android dictionary!!!
Java
274
star
12

java-multithread-downloader

Java multithread download library
Java
267
star
13

huntscreens

Take screenshots of each new project on Producthunt, YC, and Indiehackers, explore with Ease.
TypeScript
142
star
14

Gank.IO

Gank.IO source code.
23
star
15

EverMemo-EverNote

Small modifications for EverMemo
Java
14
star
16

Learn-Algorithm

拖延症患者学习算法小分队
5
star
17

dictionary

Click read me md 's redirect to know more
5
star
18

daimajia

My Intro.
4
star
19

todo

HTML
4
star
20

railway-pgvector

Dockerfile
3
star
21

SAE_wordpress_blog

SAE上的wordpress博客
PHP
3
star
22

old-version-little-bear-dictionary

Java
2
star
23

StoryTimeline

JavaScript
2
star
24

tp

1
star
25

little-bear-dictionary-dependency

All the dependencies of https://github.com/xuanqinanhai/little-bear-dictionary
1
star