{"action":"opened","issue":{"url":"https://api.github.com/repos/mgp25/Instagram-API/issues/701","repository_url":"https://api.github.com/repos/mgp25/Instagram-API","labels_url":"https://api.github.com/repos/mgp25/Instagram-API/issues/701/labels{/name}","comments_url":"https://api.github.com/repos/mgp25/Instagram-API/issues/701/comments","events_url":"https://api.github.com/repos/mgp25/Instagram-API/issues/701/events","html_url":"https://github.com/mgp25/Instagram-API/issues/701","id":191567924,"number":701,"title":"How to check if user is loggedIn?","user":{"login":"joseflorido","id":140987,"avatar_url":"https://avatars.githubusercontent.com/u/140987?v=3","gravatar_id":"","url":"https://api.github.com/users/joseflorido","html_url":"https://github.com/joseflorido","followers_url":"https://api.github.com/users/joseflorido/followers","following_url":"https://api.github.com/users/joseflorido/following{/other_user}","gists_url":"https://api.github.com/users/joseflorido/gists{/gist_id}","starred_url":"https://api.github.com/users/joseflorido/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseflorido/subscriptions","organizations_url":"https://api.github.com/users/joseflorido/orgs","repos_url":"https://api.github.com/users/joseflorido/repos","events_url":"https://api.github.com/users/joseflorido/events{/privacy}","received_events_url":"https://api.github.com/users/joseflorido/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-24T17:20:28Z","updated_at":"2016-11-24T17:20:28Z","closed_at":null,"body":"Hi!\r\n\r\nI am trying to get UsernameInfoResponse. If I do login() the script takes much longer, seems that it does the login request in any case. Is there a way I can check if user is loggedIn and if not, do force login(1)?\r\n\r\nAlso, a strange thing happening is that I frequently get login_required but according to cookies the session should last months. Any ideas about that?\r\n\r\nThanks!\r\n"}}
{"actor":{"display_login":"joseflorido"}}