{"action":"closed","issue":{"url":"https://api.github.com/repos/mgp25/Instagram-API/issues/2033","repository_url":"https://api.github.com/repos/mgp25/Instagram-API","labels_url":"https://api.github.com/repos/mgp25/Instagram-API/issues/2033/labels{/name}","comments_url":"https://api.github.com/repos/mgp25/Instagram-API/issues/2033/comments","events_url":"https://api.github.com/repos/mgp25/Instagram-API/issues/2033/events","html_url":"https://github.com/mgp25/Instagram-API/issues/2033","id":330997890,"node_id":"MDU6SXNzdWUzMzA5OTc4OTA=","number":2033,"title":"InstagramAPI\\Exception\\EndpointException","user":{"login":"scmorfi","id":26893995,"node_id":"MDQ6VXNlcjI2ODkzOTk1","avatar_url":"https://avatars3.githubusercontent.com/u/26893995?v=4","gravatar_id":"","url":"https://api.github.com/users/scmorfi","html_url":"https://github.com/scmorfi","followers_url":"https://api.github.com/users/scmorfi/followers","following_url":"https://api.github.com/users/scmorfi/following{/other_user}","gists_url":"https://api.github.com/users/scmorfi/gists{/gist_id}","starred_url":"https://api.github.com/users/scmorfi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scmorfi/subscriptions","organizations_url":"https://api.github.com/users/scmorfi/orgs","repos_url":"https://api.github.com/users/scmorfi/repos","events_url":"https://api.github.com/users/scmorfi/events{/privacy}","received_events_url":"https://api.github.com/users/scmorfi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-10T19:59:41Z","updated_at":"2018-06-10T20:41:45Z","closed_at":"2018-06-10T20:41:45Z","author_association":"NONE","body":"## Prerequisites\r\n- You will be asked some questions and requested to provide some information, please read them **carefully** and answer completely.\r\n- Put an `x` into all the boxes [ ] relevant to your issue (like so [x]).\r\n- Use the *Preview* tab to see how your issue will actually look like, before sending it.\r\n- Understand that we will *CLOSE* (without answering) *all* issues related to `challenge_required`, `checkpoint_required`, `feedback_required` or `sentry_block`. They've already been answered in the Wiki and *countless* closed tickets in the past!\r\n- Do not post screenshots of error messages or code.\r\n\r\n---\r\n\r\n### Before submitting an issue make sure you have:\r\n- [ ] [Searched](https://github.com/mgp25/Instagram-API/search?type=Issues) the bugtracker for similar issues including **closed** ones\r\n- [ ] [Read the FAQ](https://github.com/mgp25/Instagram-API/wiki/FAQ)\r\n- [ ] [Read the wiki](https://github.com/mgp25/Instagram-API/wiki)\r\n- [ ] [Reviewed the examples](https://github.com/mgp25/Instagram-API/tree/master/examples)\r\n- [ ] [Installed the api using ``composer``](https://github.com/mgp25/Instagram-API#installation)\r\n\r\n### Purpose of your issue?\r\n- [ ] Bug report (encountered problems/errors)\r\n- [ ] Feature request (request for new functionality)\r\n- [ ] Question\r\n- [ ] Other\r\n\r\n---\r\n\r\n### The following sections request more details for particular types of issues, you can remove any section (the contents between the triple ---) not applicable to your issue.\r\n\r\n---\r\n\r\n### For a *bug report*, you must include *code* that will replicate the error, and the *error log/traceback*.\r\n\r\nExample Code:\r\n\r\n```php\r\nset_time_limit(0);\r\ndate_default_timezone_set('UTC');\r\n\r\nrequire __DIR__.'/../vendor/autoload.php';\r\n\r\n// Please provide your own code here, for example:\r\n\r\ntry {\r\n    $debug = true;\r\n    $ig = new \\InstagramAPI\\Instagram($debug);\r\n    $ig->login('yourusername', 'yourpassword');\r\n    $result = $ig->media->comment('14123451234567890_1234567890', 'Hello World');\r\n    var_dump($result);\r\n} catch (\\Exception $e) {\r\n    echo $e->getMessage().\"\\n\";\r\n}\r\n```\r\n\r\nError Log/var_dump:\r\n\r\n```php\r\n// Please provide your error log/dump here, for example:\r\n\r\nRESPONSE: {\"status\": \"fail\", \"message\": \"Sorry, the comment data may have been corrupted.\"}\r\n\r\nInstagramAPI\\Response\\CommentResponse: Sorry, the comment data may have been corrupted.\r\n```\r\n\r\n---\r\n\r\n### For a new endpoint *feature request*, you should include the *capture of the request and response*.\r\n\r\nRequest:\r\n\r\n```http\r\n# Please provide your capture below, for example:\r\n\r\nGET /api/v1/si/fetch_headers/?guid=123456abcdeff19cc2f123456&challenge_type=signup HTTP/1.1\r\nHost: i.instagram.com\r\nConnection: keep-alive\r\nX-IG-Connection-Type: mobile(UMTS)\r\nX-IG-Capabilities: 3ToAAA==\r\nAccept-Language: en-US\r\nCookie: csrftoken=g79dofABCDEFGII3LI7YdHei1234567; mid=WFI52QABAAGrbKL-ABCDEFGHIJK\r\nUser-Agent: Instagram 10.3.0 Android (18/4.3; 320dpi; 720x1280; Xiaomi; HM 1SW; armani; qcom; en_US)\r\nAccept-Encoding: gzip, deflate, sdch\r\n```\r\n\r\nResponse:\r\n\r\n```http\r\n# Please provide your capture below, for example:\r\n\r\nHTTP/1.1 200 OK\r\nContent-Language: en\r\nExpires: Sat, 01 Jan 2000 00:00:00 GMT\r\nVary: Cookie, Accept-Language\r\nPragma: no-cache\r\nCache-Control: private, no-cache, no-store, must-revalidate\r\nDate: Thu, 15 Dec 2016 08:50:19 GMT\r\nContent-Type: application/json\r\nSet-Cookie: csrftoken=g79dofABCDEFGII3LI7YdHei1234567; expires=Thu, 14-Dec-2017 08:50:19 GMT; Max-Age=31449600; Path=/; secure\r\nConnection: keep-alive\r\nContent-Length: 16\r\n\r\n{\"status\": \"ok\"}\r\n```\r\n---\r\n\r\n### Describe your issue\r\n\r\nExplanation of your issue goes here.\r\n\r\nPlease make sure the description is worded well enough to be understood, and with as much context and examples as possible.\r\n\r\nWe reserve the right to close your ticket without answer if you can't bother spending a few minutes to write a helpful report for us.\r\n"}}
{"actor":{"display_login":"mgp25"}}