Giter VIP home page Giter VIP logo

social-auth-simulator's Introduction

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项目

social-auth-simulator's People

Contributors

daimajia avatar fooling avatar

Watchers

James Cloos avatar 陈百万 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.