{"action":"created","issue":{"url":"https://api.github.com/repos/SocialiteProviders/Meetup/issues/5","repository_url":"https://api.github.com/repos/SocialiteProviders/Meetup","labels_url":"https://api.github.com/repos/SocialiteProviders/Meetup/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/SocialiteProviders/Meetup/issues/5/comments","events_url":"https://api.github.com/repos/SocialiteProviders/Meetup/issues/5/events","html_url":"https://github.com/SocialiteProviders/Meetup/issues/5","id":117514912,"number":5,"title":"explode() expects parameter 2 to be string, array given","user":{"login":"HarryBosh","id":6327261,"avatar_url":"https://avatars.githubusercontent.com/u/6327261?v=3","gravatar_id":"","url":"https://api.github.com/users/HarryBosh","html_url":"https://github.com/HarryBosh","followers_url":"https://api.github.com/users/HarryBosh/followers","following_url":"https://api.github.com/users/HarryBosh/following{/other_user}","gists_url":"https://api.github.com/users/HarryBosh/gists{/gist_id}","starred_url":"https://api.github.com/users/HarryBosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HarryBosh/subscriptions","organizations_url":"https://api.github.com/users/HarryBosh/orgs","repos_url":"https://api.github.com/users/HarryBosh/repos","events_url":"https://api.github.com/users/HarryBosh/events{/privacy}","received_events_url":"https://api.github.com/users/HarryBosh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-11-18T05:13:14Z","updated_at":"2016-02-05T15:17:03Z","closed_at":"2016-02-05T14:15:26Z","body":"Hello!\r\n\r\nI am getting the following error:\r\n\r\nWhoops, looks like something went wrong.\r\n\r\n1/1\r\nErrorException in Arr.php line 238:\r\nexplode() expects parameter 2 to be string, array given\r\nin Arr.php line 238\r\nat HandleExceptions->handleError('2', 'explode() expects parameter 2 to be string, array given', '/home/vagrant/api/vendor/laravel/framework/src/Illuminate/Support/Arr.php', '238', array('array' => 'photo.photo_link', 'key' => array('birthday' => array('etc...\r\n\r\n\r\nAs per your documentation i am following the laravel way of handling authorisation however, using the code is failing, is this a user error or is something broken?\r\n\r\nmy code:\r\n\r\n<?php\r\n\r\nnamespace App\\Http\\Controllers\\Auth;\r\n\r\nuse Socialite;\r\nuse Illuminate\\Routing\\Controller;\r\n\r\nclass AuthMeetupController extends Controller\r\n{\r\n    /**\r\n     * Redirect the user to the meetup authentication page.\r\n     *\r\n     * @return Response\r\n     */\r\n    public function redirectToProvider()\r\n    {\r\n\r\n        if(\\Input::has('code')){\r\n        \tdd($this->handleProviderCallback());\r\n        }\r\n        return Socialite::driver('meetup')->redirect();\r\n\r\n\r\n    }\r\n\r\n    /**\r\n     * Obtain the user information from meetup.\r\n     *\r\n     * @return Response\r\n     */\r\n    public function handleProviderCallback()\r\n    {\r\n     \r\n        $user = Socialite::driver('meetup')->user();\r\n\r\n        dump($user);\r\n\r\n        // $user->token;\r\n    }\r\n}\r\n\r\nhttp://stackoverflow.com/questions/33772273/laravel5-socialite-meetup-how-to-return-user"},"comment":{"url":"https://api.github.com/repos/SocialiteProviders/Meetup/issues/comments/180396349","html_url":"https://github.com/SocialiteProviders/Meetup/issues/5#issuecomment-180396349","issue_url":"https://api.github.com/repos/SocialiteProviders/Meetup/issues/5","id":180396349,"user":{"login":"AndyWendt","id":6130713,"avatar_url":"https://avatars.githubusercontent.com/u/6130713?v=3","gravatar_id":"","url":"https://api.github.com/users/AndyWendt","html_url":"https://github.com/AndyWendt","followers_url":"https://api.github.com/users/AndyWendt/followers","following_url":"https://api.github.com/users/AndyWendt/following{/other_user}","gists_url":"https://api.github.com/users/AndyWendt/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyWendt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyWendt/subscriptions","organizations_url":"https://api.github.com/users/AndyWendt/orgs","repos_url":"https://api.github.com/users/AndyWendt/repos","events_url":"https://api.github.com/users/AndyWendt/events{/privacy}","received_events_url":"https://api.github.com/users/AndyWendt/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T15:17:03Z","updated_at":"2016-02-05T15:17:03Z","body":"@bspringston \r\n\r\nThe 5.2 issue is because, I just found out, you need to wrap your routes now in a `Route::group`\r\n\r\n```php\r\nRoute::group(['middleware' => ['web']], function () {\r\n    \\Route::get('auths', function() {\r\n        return \\Socialite::driver('meetup')->redirect();\r\n    });\r\n\r\n    \\Route::get('/callback', function () {\r\n        $user = \\Socialite::driver('meetup')->user();\r\n\r\n        dd($user);\r\n    });\r\n});\r\n```"}}