{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/testpilot/issues/1260","repository_url":"https://api.github.com/repos/mozilla/testpilot","labels_url":"https://api.github.com/repos/mozilla/testpilot/issues/1260/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/testpilot/issues/1260/comments","events_url":"https://api.github.com/repos/mozilla/testpilot/issues/1260/events","html_url":"https://github.com/mozilla/testpilot/pull/1260","id":171901781,"number":1260,"title":"[wip] Add social media metadata overrides (closes #761).","user":{"login":"chuckharmston","id":23885,"avatar_url":"https://avatars.githubusercontent.com/u/23885?v=3","gravatar_id":"","url":"https://api.github.com/users/chuckharmston","html_url":"https://github.com/chuckharmston","followers_url":"https://api.github.com/users/chuckharmston/followers","following_url":"https://api.github.com/users/chuckharmston/following{/other_user}","gists_url":"https://api.github.com/users/chuckharmston/gists{/gist_id}","starred_url":"https://api.github.com/users/chuckharmston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuckharmston/subscriptions","organizations_url":"https://api.github.com/users/chuckharmston/orgs","repos_url":"https://api.github.com/users/chuckharmston/repos","events_url":"https://api.github.com/users/chuckharmston/events{/privacy}","received_events_url":"https://api.github.com/users/chuckharmston/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/testpilot/labels/status:%20in%20progress","name":"status: in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mozilla/testpilot/milestones/16","html_url":"https://github.com/mozilla/testpilot/milestones/TXP-17%20Allow%20users%20to%20explore%20experiments%20before%20installing%20Test%20Pilot","labels_url":"https://api.github.com/repos/mozilla/testpilot/milestones/16/labels","id":1868010,"number":16,"title":"TXP-17 Allow users to explore experiments before installing Test Pilot","description":"https://trello.com/c/oLUdoRxO/17-allow-users-to-explore-experiments-before-installing-test-pilot","creator":{"login":"ckprice","id":8632184,"avatar_url":"https://avatars.githubusercontent.com/u/8632184?v=3","gravatar_id":"","url":"https://api.github.com/users/ckprice","html_url":"https://github.com/ckprice","followers_url":"https://api.github.com/users/ckprice/followers","following_url":"https://api.github.com/users/ckprice/following{/other_user}","gists_url":"https://api.github.com/users/ckprice/gists{/gist_id}","starred_url":"https://api.github.com/users/ckprice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckprice/subscriptions","organizations_url":"https://api.github.com/users/ckprice/orgs","repos_url":"https://api.github.com/users/ckprice/repos","events_url":"https://api.github.com/users/ckprice/events{/privacy}","received_events_url":"https://api.github.com/users/ckprice/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":2,"state":"open","created_at":"2016-07-06T16:15:20Z","updated_at":"2016-08-18T13:32:26Z","due_on":"2016-08-26T00:00:00Z","closed_at":null},"comments":0,"created_at":"2016-08-18T13:32:26Z","updated_at":"2016-08-18T14:00:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/testpilot/pulls/1260","html_url":"https://github.com/mozilla/testpilot/pull/1260","diff_url":"https://github.com/mozilla/testpilot/pull/1260.diff","patch_url":"https://github.com/mozilla/testpilot/pull/1260.patch"},"body":"Getting this up so @johngruen and @ckprice can check out the mechanisms while I polish. Will call for review soon.\r\n\r\n## TODO\r\n\r\n- [x] Create models and migrations\r\n- [x] Create admin interface\r\n- [x] Validate/test with Twitter and Facebook's respective testing tools.\r\n- [ ] Write tests.\r\n- [x] Update demo data fixtures.\r\n\r\n## Screenshots\r\n\r\n![Admin interface](https://cloud.githubusercontent.com/assets/23885/17775403/527bbf88-6515-11e6-8515-a3d0988cc80a.png)\r\n\r\nNote that you can override default metadata for arbitrary URLs on the site, not just experiments. Trailing slashes are automatically dealt with, and metadata will be applied with and without them.\r\n\r\n![Twitter](https://cloud.githubusercontent.com/assets/23885/17775334/047982ac-6515-11e6-8319-dce6ffb91602.png)\r\n\r\nSince we're likely only using this for experiments, which will benefit from large images, I switched from a Twitter [summary card](https://dev.twitter.com/cards/types/summary) to a [summary large image](https://dev.twitter.com/cards/types/summary-large-image) card for overrides.\r\n\r\n![Facebook](https://cloud.githubusercontent.com/assets/23885/17775342/0a8e7f58-6515-11e6-8cff-01be7f9a4b00.png)\r\n\r\n![Facebook on mobile](https://cloud.githubusercontent.com/assets/23885/17775519/d3fbd5d4-6515-11e6-9cae-8c5047b2b45d.jpg)\r\n\r\n\r\nIgnore the domains on Facebook/mobile; that's an artifact of how I was testing it.\r\n\r\nMaking good Facebook images will be tricky; they sometimes show it at a 1:1 aspect ratio, but will also sometimes crop it to 1.9:1 depending on the context.\r\n\r\n![Activity Stream output](https://cloud.githubusercontent.com/assets/23885/17775463/9142b6ae-6515-11e6-8565-536593cc6f26.png)\r\n\r\n![Homepage](https://cloud.githubusercontent.com/assets/23885/17775473/993dd7c6-6515-11e6-87aa-89aed43edb43.png)\r\n\r\nIf no metadata is specified for the current page, a default is used (e.g. what currently exists)."},"comment":{"url":"https://api.github.com/repos/mozilla/testpilot/issues/comments/240731726","html_url":"https://github.com/mozilla/testpilot/pull/1260#issuecomment-240731726","issue_url":"https://api.github.com/repos/mozilla/testpilot/issues/1260","id":240731726,"user":{"login":"johngruen","id":3323249,"avatar_url":"https://avatars.githubusercontent.com/u/3323249?v=3","gravatar_id":"","url":"https://api.github.com/users/johngruen","html_url":"https://github.com/johngruen","followers_url":"https://api.github.com/users/johngruen/followers","following_url":"https://api.github.com/users/johngruen/following{/other_user}","gists_url":"https://api.github.com/users/johngruen/gists{/gist_id}","starred_url":"https://api.github.com/users/johngruen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johngruen/subscriptions","organizations_url":"https://api.github.com/users/johngruen/orgs","repos_url":"https://api.github.com/users/johngruen/repos","events_url":"https://api.github.com/users/johngruen/events{/privacy}","received_events_url":"https://api.github.com/users/johngruen/received_events","type":"User","site_admin":false},"created_at":"2016-08-18T14:00:54Z","updated_at":"2016-08-18T14:00:54Z","body":"@chuckharmston this looks fantastic!"}}
{"actor":{"display_login":"johngruen"}}