-
Notifications
You must be signed in to change notification settings - Fork 24
shenfeng edited this page Apr 19, 2013
·
11 revisions
For all request except the login, add the access_token
to the request header
-
email
: user email, -
password
: user password
or
-
provider
: likeweibo
,qq
-
id_in_provider
: id -
name
: name in provider
=>
id: 1,
access_token: "sdfdsfsdfsdfsdf" // a random token
}
=>
{
email: "[email protected]",
qq: 386297760,
interested_fields: "html5, bakcend, bigdata",
work: "None",
photo: "/user/pic/1212.jpg",
follow: false
}
=>
[{
email: "[email protected]",
qq: 386297760,
interested_fields: "html5, bakcend, bigdata",
work: "None",
photo: "/user/pic/1212.jpg",
follow: false
},
{
email: "[email protected]",
qq: 386297760,
interested_fields: "html5, bakcend, bigdata",
work: "None",
photo: "/user/pic/1212.jpg",
follow: false
},
]
-
user_id
: the user id to follow
-
start
: start time, in milliseconds, default to 1 week ago. -
end
: end time, in milliseconds, default to now. -
city
: like beijing, Null means all.