{"action":"created","issue":{"url":"https://api.github.com/repos/abraham/twitteroauth/issues/306","labels_url":"https://api.github.com/repos/abraham/twitteroauth/issues/306/labels{/name}","comments_url":"https://api.github.com/repos/abraham/twitteroauth/issues/306/comments","events_url":"https://api.github.com/repos/abraham/twitteroauth/issues/306/events","html_url":"https://github.com/abraham/twitteroauth/issues/306","id":55806475,"number":306,"title":"how do we implement the sign in twitter ?","user":{"login":"damienvaz","id":3703782,"avatar_url":"https://avatars.githubusercontent.com/u/3703782?v=3","gravatar_id":"","url":"https://api.github.com/users/damienvaz","html_url":"https://github.com/damienvaz","followers_url":"https://api.github.com/users/damienvaz/followers","following_url":"https://api.github.com/users/damienvaz/following{/other_user}","gists_url":"https://api.github.com/users/damienvaz/gists{/gist_id}","starred_url":"https://api.github.com/users/damienvaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damienvaz/subscriptions","organizations_url":"https://api.github.com/users/damienvaz/orgs","repos_url":"https://api.github.com/users/damienvaz/repos","events_url":"https://api.github.com/users/damienvaz/events{/privacy}","received_events_url":"https://api.github.com/users/damienvaz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-28T19:54:15Z","updated_at":"2015-01-29T15:14:24Z","closed_at":null,"body":"Hi Abraham,\r\nI was trying to do your tutorial and i couldn't even pass the first step for implementing the login twitter.\r\nI did that as you told on the tutorial :\r\n\r\n```\r\n<?php\r\nrequire 'vendor/autoload.php';\r\nuse Abraham\\TwitterOAuth\\TwitterOAuth;\r\n\r\nrequire 'vendor/autoload.php';\r\nuse Abraham\\TwitterOAuth\\TwitterOAuth;\r\n\r\ndefine('CONSUMER_KEY', getenv('CONSUMER_KEY'));\r\ndefine('CONSUMER_SECRET', getenv('CONSUMER_SECRET'));\r\ndefine('OAUTH_CALLBACK', getenv('OAUTH_CALLBACK'));\r\n\r\n$connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET);\r\n\r\n$request_token = $connection->oauth('oauth/request_token', array('oauth_callback' => OAUTH_CALLBACK));\r\n\r\n$_SESSION['oauth_token'] = $request_token['oauth_token'];\r\n$_SESSION['oauth_token_secret'] = $request_token['oauth_token_secret'];\r\n\r\n$url = $connection->url('oauth/authorize', array('oauth_token' => $request_token['oauth_token']));\r\n\r\n?>\r\n```\r\n\r\nChanged the CONSUMER_KEY and CONSUMER_SECRET as mentioned with my app in twitter.\r\nBut then again ... Nothing ... \r\nWhat am i doing wrong ?\r\nI know that the url must be encoded to a \\<a href=\"$url\"\\> but, i dont know , what i am doing wrong :/\r\nSorry, if i'm noob but a little explanation was welcome please :)\r\nThank you for your patience !\r\n\r\nP.S.: yes, i think i already have the file vendor (at least it is shown) ."},"comment":{"url":"https://api.github.com/repos/abraham/twitteroauth/issues/comments/72040868","html_url":"https://github.com/abraham/twitteroauth/issues/306#issuecomment-72040868","issue_url":"https://api.github.com/repos/abraham/twitteroauth/issues/306","id":72040868,"user":{"login":"damienvaz","id":3703782,"avatar_url":"https://avatars.githubusercontent.com/u/3703782?v=3","gravatar_id":"","url":"https://api.github.com/users/damienvaz","html_url":"https://github.com/damienvaz","followers_url":"https://api.github.com/users/damienvaz/followers","following_url":"https://api.github.com/users/damienvaz/following{/other_user}","gists_url":"https://api.github.com/users/damienvaz/gists{/gist_id}","starred_url":"https://api.github.com/users/damienvaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damienvaz/subscriptions","organizations_url":"https://api.github.com/users/damienvaz/orgs","repos_url":"https://api.github.com/users/damienvaz/repos","events_url":"https://api.github.com/users/damienvaz/events{/privacy}","received_events_url":"https://api.github.com/users/damienvaz/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T15:14:24Z","updated_at":"2015-01-29T15:14:24Z","body":"and that :\r\n\r\n```\r\ndefine('OAUTH_CALLBACK', getenv('OAUTH_CALLBACK'));\r\n```\r\n\r\nwhat is it ? "}}