codebird

how to retrieve twitter user email using codebird.php

别来无恙 提交于 2020-01-03 06:00:15
问题 Is there a way I can request twitter user email address, avartarURL using codebird.php Currently, I only get the screen name. What I am doing is: $reply = $this->client->oauth_requestToken(array('oauth_callback' => $this->clientCallback)); The tutorial I am currently following: PartFour This will give you a sense of what is going on from the first 5 min. 回答1: You can request a user’s email address by calling the account/verify_credentials Twitter API method, setting the optional include_email