TwitterCallback::updateUserFromTwitterData
Saves the Twitter data to the member and logs in the member if that has not been done yet.
Signature
protected function updateUserFromTwitterData(Int
$user,
Object
$twitterData,
Object
$access,
[boolean
$keepLoggedIn = false] )
Parameters
$user
—
object
- - the ID of the current twitter user
$twitterData
—
object
- - the data returned from twitter
$access
—
object
- - access token
$keepLoggedIn
—
boolean
- - does the user stay logged in
Returns
- Member