{"action":"closed","issue":{"url":"https://api.github.com/repos/akellehe/fb_calendar/issues/75","repository_url":"https://api.github.com/repos/akellehe/fb_calendar","labels_url":"https://api.github.com/repos/akellehe/fb_calendar/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/akellehe/fb_calendar/issues/75/comments","events_url":"https://api.github.com/repos/akellehe/fb_calendar/issues/75/events","html_url":"https://github.com/akellehe/fb_calendar/issues/75","id":218711086,"number":75,"title":"Add `UserPage` object. Use it for finding recent `access_tokens`","user":{"login":"akellehe","id":227095,"avatar_url":"https://avatars2.githubusercontent.com/u/227095?v=3","gravatar_id":"","url":"https://api.github.com/users/akellehe","html_url":"https://github.com/akellehe","followers_url":"https://api.github.com/users/akellehe/followers","following_url":"https://api.github.com/users/akellehe/following{/other_user}","gists_url":"https://api.github.com/users/akellehe/gists{/gist_id}","starred_url":"https://api.github.com/users/akellehe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akellehe/subscriptions","organizations_url":"https://api.github.com/users/akellehe/orgs","repos_url":"https://api.github.com/users/akellehe/repos","events_url":"https://api.github.com/users/akellehe/events{/privacy}","received_events_url":"https://api.github.com/users/akellehe/received_events","type":"User","site_admin":false},"labels":[{"id":530060876,"url":"https://api.github.com/repos/akellehe/fb_calendar/labels/rfr","name":"rfr","color":"f9d0c4","default":false}],"state":"closed","locked":false,"assignee":{"login":"akellehe","id":227095,"avatar_url":"https://avatars2.githubusercontent.com/u/227095?v=3","gravatar_id":"","url":"https://api.github.com/users/akellehe","html_url":"https://github.com/akellehe","followers_url":"https://api.github.com/users/akellehe/followers","following_url":"https://api.github.com/users/akellehe/following{/other_user}","gists_url":"https://api.github.com/users/akellehe/gists{/gist_id}","starred_url":"https://api.github.com/users/akellehe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akellehe/subscriptions","organizations_url":"https://api.github.com/users/akellehe/orgs","repos_url":"https://api.github.com/users/akellehe/repos","events_url":"https://api.github.com/users/akellehe/events{/privacy}","received_events_url":"https://api.github.com/users/akellehe/received_events","type":"User","site_admin":false},"assignees":[{"login":"akellehe","id":227095,"avatar_url":"https://avatars2.githubusercontent.com/u/227095?v=3","gravatar_id":"","url":"https://api.github.com/users/akellehe","html_url":"https://github.com/akellehe","followers_url":"https://api.github.com/users/akellehe/followers","following_url":"https://api.github.com/users/akellehe/following{/other_user}","gists_url":"https://api.github.com/users/akellehe/gists{/gist_id}","starred_url":"https://api.github.com/users/akellehe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akellehe/subscriptions","organizations_url":"https://api.github.com/users/akellehe/orgs","repos_url":"https://api.github.com/users/akellehe/repos","events_url":"https://api.github.com/users/akellehe/events{/privacy}","received_events_url":"https://api.github.com/users/akellehe/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-04-01T17:39:15Z","updated_at":"2017-04-03T14:03:11Z","closed_at":"2017-04-03T14:03:11Z","body":"Right now we're using `most_recent_user_id` on the `Page` object to find an `access_token` to parse (what could be private) pages on Facebook.\r\n\r\nWe can't use the app access token. Already tried that. When a user logs back in that has access to a page we can get a more up-to-date access token than the one saved on the `Page` object since it gets saved to the `Page` object only when a new user is created.\r\n\r\nWe should create a `UserPage` object that acts as a join table between user and page object. When a user's pages are pulled the first time we should create these objects. Any time a user logs back in or otherwise updates their access tokens we should indicate those relationships have been updated. So that we can use that user's access token in re-parsing those pages in the scraper."}}
{"actor":{"display_login":"akellehe"}}