{"action":"created","issue":{"url":"https://api.github.com/repos/guardian/facebook-news-bot/issues/8","repository_url":"https://api.github.com/repos/guardian/facebook-news-bot","labels_url":"https://api.github.com/repos/guardian/facebook-news-bot/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/guardian/facebook-news-bot/issues/8/comments","events_url":"https://api.github.com/repos/guardian/facebook-news-bot/issues/8/events","html_url":"https://github.com/guardian/facebook-news-bot/pull/8","id":172901816,"number":8,"title":"Make edition configurable","user":{"login":"tomrf1","id":1513454,"avatar_url":"https://avatars.githubusercontent.com/u/1513454?v=3","gravatar_id":"","url":"https://api.github.com/users/tomrf1","html_url":"https://github.com/tomrf1","followers_url":"https://api.github.com/users/tomrf1/followers","following_url":"https://api.github.com/users/tomrf1/following{/other_user}","gists_url":"https://api.github.com/users/tomrf1/gists{/gist_id}","starred_url":"https://api.github.com/users/tomrf1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomrf1/subscriptions","organizations_url":"https://api.github.com/users/tomrf1/orgs","repos_url":"https://api.github.com/users/tomrf1/repos","events_url":"https://api.github.com/users/tomrf1/events{/privacy}","received_events_url":"https://api.github.com/users/tomrf1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-24T09:09:37Z","updated_at":"2016-08-24T09:28:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/guardian/facebook-news-bot/pulls/8","html_url":"https://github.com/guardian/facebook-news-bot/pull/8","diff_url":"https://github.com/guardian/facebook-news-bot/pull/8.diff","patch_url":"https://github.com/guardian/facebook-news-bot/pull/8.patch"},"body":"We decide which front to use by checking the user's facebook locale string (e.g. \"en_GB\" => \"uk\")\r\nIt appears this never changes, so e.g. a British person who moved to the US still has \"en_GB\" (which makes sense).\r\nWe'll still use this as a default for now, but the user can now change it by clicking \"Change edition\". The options are presented as a carousel (like with the headlines), because you're only allowed a max of 3 buttons. In future we could add images for each tile in the carousel.\r\n\r\nNote - we have plans to add bots to the US and AU facebook pages as well. The default edition can then be specific to the facebook page.\r\n\r\n<img width=\"628\" alt=\"picture 2\" src=\"https://cloud.githubusercontent.com/assets/1513454/17924607/3d635842-69e1-11e6-80f3-3398d4ec0678.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/guardian/facebook-news-bot/issues/comments/242007051","html_url":"https://github.com/guardian/facebook-news-bot/pull/8#issuecomment-242007051","issue_url":"https://api.github.com/repos/guardian/facebook-news-bot/issues/8","id":242007051,"user":{"login":"tsop14","id":8484757,"avatar_url":"https://avatars.githubusercontent.com/u/8484757?v=3","gravatar_id":"","url":"https://api.github.com/users/tsop14","html_url":"https://github.com/tsop14","followers_url":"https://api.github.com/users/tsop14/followers","following_url":"https://api.github.com/users/tsop14/following{/other_user}","gists_url":"https://api.github.com/users/tsop14/gists{/gist_id}","starred_url":"https://api.github.com/users/tsop14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsop14/subscriptions","organizations_url":"https://api.github.com/users/tsop14/orgs","repos_url":"https://api.github.com/users/tsop14/repos","events_url":"https://api.github.com/users/tsop14/events{/privacy}","received_events_url":"https://api.github.com/users/tsop14/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T09:28:50Z","updated_at":"2016-08-24T09:28:50Z","body":"I don't really understand the difference between the editions. If you get chose AU front would you only get Australian news? Or just prioritised Australian news? I think an explanation might be nice so it is clear what \"change edition\" will do."}}
{"actor":{"display_login":"tsop14"}}