Open ViktorKudlai opened 9 years ago
I figure out how I can solve this problem.
public function getTwitterToken() {
$tw = OAuth::consumer('Twitter', URL::to('auth/social/tw'));
$reqToken = $tw->requestRequestToken();
$url = $tw->getAuthorizationUri(array('oauth_token' => $reqToken->getRequestToken()));
return Redirect::to((string) $url);
}
Hi everybody. I trying to retreive Twitter oauth_token using Twitter API method oauth/request_token. How can I send POST request using artdarek wrapper? Thanks.