{"action":"created","issue":{"url":"https://api.github.com/repos/abraham/twitteroauth/issues/372","labels_url":"https://api.github.com/repos/abraham/twitteroauth/issues/372/labels{/name}","comments_url":"https://api.github.com/repos/abraham/twitteroauth/issues/372/comments","events_url":"https://api.github.com/repos/abraham/twitteroauth/issues/372/events","html_url":"https://github.com/abraham/twitteroauth/issues/372","id":90977878,"number":372,"title":"no authorization","user":{"login":"2s2d","id":13050565,"avatar_url":"https://avatars.githubusercontent.com/u/13050565?v=3","gravatar_id":"","url":"https://api.github.com/users/2s2d","html_url":"https://github.com/2s2d","followers_url":"https://api.github.com/users/2s2d/followers","following_url":"https://api.github.com/users/2s2d/following{/other_user}","gists_url":"https://api.github.com/users/2s2d/gists{/gist_id}","starred_url":"https://api.github.com/users/2s2d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2s2d/subscriptions","organizations_url":"https://api.github.com/users/2s2d/orgs","repos_url":"https://api.github.com/users/2s2d/repos","events_url":"https://api.github.com/users/2s2d/events{/privacy}","received_events_url":"https://api.github.com/users/2s2d/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-06-25T14:18:53Z","updated_at":"2015-06-25T15:56:40Z","closed_at":null,"body":"This is my code:\r\n\r\n```\r\n<?php\r\nrequire \"twitteroauth/autoload.php\";\r\n\r\nuse Abraham\\TwitterOAuth\\TwitterOAuth;\r\n\r\n$connection = new TwitterOAuth('here_my_c_key', 'here_my_c_secret');\r\n$content = $connection->get(\"account/verify_credentials\");\r\n$request_token = $connection->oauth('oauth/request_token', array('oauth_callback' => 'http://here_my_call_back_url.php'));\r\n$_SESSION['oauth_token'] = $request_token['oauth_token'];\r\n$_SESSION['oauth_token_secret'] = $request_token['oauth_token_secret'];\r\n$url = $connection->url('oauth/authorize', array('oauth_token' => $request_token['oauth_token']));\r\nheader('Location: '. $url);\r\n\r\n?>\r\n```\r\nand after this i have no authorization apps in twitter account. Why? I have no one error."},"comment":{"url":"https://api.github.com/repos/abraham/twitteroauth/issues/comments/115303172","html_url":"https://github.com/abraham/twitteroauth/issues/372#issuecomment-115303172","issue_url":"https://api.github.com/repos/abraham/twitteroauth/issues/372","id":115303172,"user":{"login":"2s2d","id":13050565,"avatar_url":"https://avatars.githubusercontent.com/u/13050565?v=3","gravatar_id":"","url":"https://api.github.com/users/2s2d","html_url":"https://github.com/2s2d","followers_url":"https://api.github.com/users/2s2d/followers","following_url":"https://api.github.com/users/2s2d/following{/other_user}","gists_url":"https://api.github.com/users/2s2d/gists{/gist_id}","starred_url":"https://api.github.com/users/2s2d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2s2d/subscriptions","organizations_url":"https://api.github.com/users/2s2d/orgs","repos_url":"https://api.github.com/users/2s2d/repos","events_url":"https://api.github.com/users/2s2d/events{/privacy}","received_events_url":"https://api.github.com/users/2s2d/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T15:56:40Z","updated_at":"2015-06-25T15:56:40Z","body":"sorry, but i don't get it. we have example redirect.php:\r\n<?php\r\nrequire 'vendor/autoload.php';\r\nuse Abraham\\TwitterOAuth\\TwitterOAuth;\r\ndefine('CONSUMER_KEY', getenv('CONSUMER_KEY'));\r\ndefine('CONSUMER_SECRET', getenv('CONSUMER_SECRET'));\r\ndefine('OAUTH_CALLBACK', getenv('OAUTH_CALLBACK'));\r\n$connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET);\r\n$request_token = $connection->oauth('oauth/request_token', array('oauth_callback' => OAUTH_CALLBACK));\r\n$_SESSION['oauth_token'] = $request_token['oauth_token'];\r\n$_SESSION['oauth_token_secret'] = $request_token['oauth_token_secret'];\r\n$url = $connection->url('oauth/authorize', array('oauth_token' => $request_token['oauth_token']));\r\n?>\r\n\r\nand we need after that to create a new object? why it is missing in the example? "}}