createOAuth: create an OAuth object

Description Usage Arguments Value Note Author(s) References See Also Examples

View source: R/createOAuth.R

Description

Create an authorized OAuth object

Usage

1
2
createOAuth(app_name, access_name, authorize = TRUE, login = FALSE,
  username = "", password = "")

Arguments

app_name

name of the application.

access_name

a string of your access name.

authorize

whether to authorize the oauth to use sina API.

login

whether to login to impersonate the login.

username

user name of the account to impersonate the login.

password

password of the account to impersonate the login.

Value

An reference object of weibo2.0.

Note

There is only one OAuth object needed.

Author(s)

Jian Li <[email protected]>

References

http://open.weibo.com/wiki/OAuth/en

See Also

registerApp

Examples

1
2
3
4
5
## Not run: 

roauth <- createOAuth("sinademo", "user1")

## End(Not run)

Rweibo documentation built on May 31, 2017, 3:24 a.m.

Related to createOAuth in Rweibo...