{"action":"created","issue":{"url":"https://api.github.com/repos/mgp25/Telegram-Bot-API/issues/6","labels_url":"https://api.github.com/repos/mgp25/Telegram-Bot-API/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/mgp25/Telegram-Bot-API/issues/6/comments","events_url":"https://api.github.com/repos/mgp25/Telegram-Bot-API/issues/6/events","html_url":"https://github.com/mgp25/Telegram-Bot-API/issues/6","id":105307396,"number":6,"title":"Authorizing your bot","user":{"login":"moosavialeki","id":1008267,"avatar_url":"https://avatars.githubusercontent.com/u/1008267?v=3","gravatar_id":"","url":"https://api.github.com/users/moosavialeki","html_url":"https://github.com/moosavialeki","followers_url":"https://api.github.com/users/moosavialeki/followers","following_url":"https://api.github.com/users/moosavialeki/following{/other_user}","gists_url":"https://api.github.com/users/moosavialeki/gists{/gist_id}","starred_url":"https://api.github.com/users/moosavialeki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moosavialeki/subscriptions","organizations_url":"https://api.github.com/users/moosavialeki/orgs","repos_url":"https://api.github.com/users/moosavialeki/repos","events_url":"https://api.github.com/users/moosavialeki/events{/privacy}","received_events_url":"https://api.github.com/users/moosavialeki/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-08T05:58:49Z","updated_at":"2015-09-12T09:26:41Z","closed_at":"2015-09-08T08:28:07Z","body":"\r\nhttps://core.telegram.org/bots/api#authorizing-your-bot\r\n```php\r\nhttps://api.telegram.org/bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11/getMe\r\n```\r\n '/'\r\nbut in telegram.php => \r\n```php\r\n   // $this->baseURL = self::BASE_URL . $this->token . DIRECTORY_SEPARATOR;\r\n\r\n```\r\ni chang it to :\r\n```php\r\n\r\n    $this->baseURL = self::BASE_URL . $this->token . '/';\r\n```"},"comment":{"url":"https://api.github.com/repos/mgp25/Telegram-Bot-API/issues/comments/139743993","html_url":"https://github.com/mgp25/Telegram-Bot-API/issues/6#issuecomment-139743993","issue_url":"https://api.github.com/repos/mgp25/Telegram-Bot-API/issues/6","id":139743993,"user":{"login":"moosavialeki","id":1008267,"avatar_url":"https://avatars.githubusercontent.com/u/1008267?v=3","gravatar_id":"","url":"https://api.github.com/users/moosavialeki","html_url":"https://github.com/moosavialeki","followers_url":"https://api.github.com/users/moosavialeki/followers","following_url":"https://api.github.com/users/moosavialeki/following{/other_user}","gists_url":"https://api.github.com/users/moosavialeki/gists{/gist_id}","starred_url":"https://api.github.com/users/moosavialeki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moosavialeki/subscriptions","organizations_url":"https://api.github.com/users/moosavialeki/orgs","repos_url":"https://api.github.com/users/moosavialeki/repos","events_url":"https://api.github.com/users/moosavialeki/events{/privacy}","received_events_url":"https://api.github.com/users/moosavialeki/received_events","type":"User","site_admin":false},"created_at":"2015-09-12T09:26:41Z","updated_at":"2015-09-12T09:26:41Z","body":"```\r\n\r\nWarning: file_get_contents(https://api.telegram.org/bot83496074:*AEpJ3nK1*****vygkIct1HCe9H-umiXmak\\getUpdates?offset=0&timeout=60): failed to open stream: HTTP request failed! HTTP/1.1 502 Bad Gateway in C:\\xampp\\htdocs\\tel\\src\\Telegram.php on line 386\r\n\r\nFatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1 no such table: contacts' in C:\\xampp\\htdocs\\tel\\examples\\quoteBot.php:96 Stack trace: #0 C:\\xampp\\htdocs\\tel\\examples\\quoteBot.php(96): PDO->prepare('SELECT chat_id,...') #1 C:\\xampp\\htdocs\\tel\\examples\\quoteBot.php(33): allChats() #2 {main} thrown in C:\\xampp\\htdocs\\tel\\examples\\quoteBot.php on line 96\r\n```\r\n\r\nused xammp in windows\r\n\r\n```php\r\n    $this->baseURL = self::BASE_URL . $this->token . DIRECTORY_SEPARATOR;// ERROR\r\n    //$this->baseURL = self::BASE_URL . $this->token . '/'; NO ERROR\r\n\r\n```"}}