initSession {twitteR}R Documentation

A function to initiate a Twitter session

Description

This function will initiate a web session for the user with the Twitter servers, providing a handle which is then used throughout the rest of the functions of twitteR.

Usage

initSession(username, password)

Arguments

username Your Twitter screenname
password Your Twitter password

Details

As of now, twitteR still uses the old authentication method, and not OAuth. This function provides a CURLHandle which can then be passed along to any other function within the package in order to achieve proper authentication.

Value

An object of class CURLHandle

Author(s)

Jeff Gentry

See Also

getCurlHandle, dmGet, getUser

Examples

   ## Not run: 
       sess <- initSession('myscreen', 'mypass')
   
## End(Not run)

[Package twitteR version 0.1.5 Index]