Description Usage Arguments See Also Examples
Make a request for a protected resource using credentials resulting from Authorize() or LoadCredentials().
1 | MakeRequest(params, resource, method, request=NULL, noisy=FALSE)
|
params |
the parameters of the service and the user, resulting from Authorize() or LoadCredentials() |
resource |
the URL of the resource you are trying to access. If this is a request in which you would pass request parameters (e.g., <code>?search=abcdefg</code>), do not include those parameters in the resource URL. |
method |
one of "GET", "POST", "PUT", or "DELETE" |
request |
any request parameters provided as a named character vector (e.g., c(search="Test", since="yesterday")). may be null. |
noisy |
binary setting to enable verbosity in handshaking |
Authorize
1 2 | ## Not run: MakeRequest(params, "http://api.twitter.com/1/account/verify_credentials.json", "GET")
## Not run: MakeRequest(params, "http://api.twitter.com/1/statuses/update.json", "POST", request=c(status="#rstats is my hero."))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.