definitely246 / social

A preconfigured setup of oauth plugins that piggybacks off of the very popular lusitanian/phpoauthlib. The project uses a facade for oauth and api's to the most popular social websites (facebook, twitter, google, etc) and the goal of this project is to have oauth setup within 10 minutes of installing this package.
Other
83 stars 13 forks source link

Error on Twitter login #16

Open stewebyourmind opened 10 years ago

stewebyourmind commented 10 years ago

I try to login in on my site using Twitter ( Social::login('twitter'); ) and I receive the error below. Notice that:

image

image

jrean commented 10 years ago

Hi, I have exactly the same issue. Did you find something?

martuico commented 10 years ago

I Have this kind of issue too

martuico commented 10 years ago

Found this solution. change this $service->requestAccessToken to $serivice->requestRequestToken

codesleeve\social\controllers\SocialController.php /* * [twitterConnect description] * @return \Illuminate\Support\Facades\Response / public function twitterConnect() { $service = App::make('social')->twitter(); if (Input::get('oauth_token', null)) { $service->requestRequestToken( Input::get('oauth_token'), Input::get('oauth_verifier') ); }

    return Redirect::to(Config::get('social::twitter.redirect_url'));
}
albertfiati commented 10 years ago

@martuico .. the solution doesn't work for me, is there anything i should take a second look at?