{"action":"created","comment":{"url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/pulls/comments/85130543","pull_request_review_id":5863127,"id":85130543,"diff_hunk":"@@ -4,6 +4,15 @@\n <% content_for(:meta_keywords) { \"unboxed consulting, news, technical, web, development, marketing, graphic design, Unboxed, Ruby on Rails, Blog, #{current_page.data.tags.join(', ')}\" } %>\n <% add_atom_feed_to_head %>\n \n+<!--Twitter card tags-->\n+<% content_for(:head) do %>\n+  <meta name=\"twitter:card\" content=\"summary_large_image\" />\n+  <meta name=\"twitter:site\" content=\"@Ubxd\">\n+  <meta name=\"twitter:title\" content=\"<%= current_page.data.title %>\">\n+  <meta name=\"twitter:description\" content=\"<%= truncate(strip_tags(current_article.body), length: 150) %>\">\n+  <meta name=\"twitter:image\" content=\"<%= current_page.data.weekly_roundup ? image_url(\"assets/images/blog/unboxed_roundup.jpg\") : current_page.data.main_image %>\">","path":"source/layouts/blog_article.erb","position":10,"original_position":10,"commit_id":"739219a9b02c0b62ba8963dbd603f09175fda48f","original_commit_id":"739219a9b02c0b62ba8963dbd603f09175fda48f","user":{"login":"tomsabin","id":885223,"avatar_url":"https://avatars.githubusercontent.com/u/885223?v=3","gravatar_id":"","url":"https://api.github.com/users/tomsabin","html_url":"https://github.com/tomsabin","followers_url":"https://api.github.com/users/tomsabin/followers","following_url":"https://api.github.com/users/tomsabin/following{/other_user}","gists_url":"https://api.github.com/users/tomsabin/gists{/gist_id}","starred_url":"https://api.github.com/users/tomsabin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomsabin/subscriptions","organizations_url":"https://api.github.com/users/tomsabin/orgs","repos_url":"https://api.github.com/users/tomsabin/repos","events_url":"https://api.github.com/users/tomsabin/events{/privacy}","received_events_url":"https://api.github.com/users/tomsabin/received_events","type":"User","site_admin":false},"body":"Unfortunately we can't [test the weekly roundup image](https://cards-dev.twitter.com/validator) until it's deployed to production, but it still looks okay!\r\n![screen shot 2016-10-26 at 15 04 53](https://cloud.githubusercontent.com/assets/885223/19729131/cc5b2d4e-9b8d-11e6-818c-bea11adb51cc.png)","created_at":"2016-10-26T14:09:49Z","updated_at":"2016-10-26T14:12:20Z","html_url":"https://github.com/unboxed/ubxd_web_refresh/pull/228#discussion_r85130543","pull_request_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/pulls/228","_links":{"self":{"href":"https://api.github.com/repos/unboxed/ubxd_web_refresh/pulls/comments/85130543"},"html":{"href":"https://github.com/unboxed/ubxd_web_refresh/pull/228#discussion_r85130543"},"pull_request":{"href":"https://api.github.com/repos/unboxed/ubxd_web_refresh/pulls/228"}}},"pull_request":{"url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/pulls/228","id":90820427,"html_url":"https://github.com/unboxed/ubxd_web_refresh/pull/228","diff_url":"https://github.com/unboxed/ubxd_web_refresh/pull/228.diff","patch_url":"https://github.com/unboxed/ubxd_web_refresh/pull/228.patch","issue_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/issues/228","number":228,"state":"open","locked":false,"title":"Twitter cards","user":{"login":"mybits","id":5237879,"avatar_url":"https://avatars.githubusercontent.com/u/5237879?v=3","gravatar_id":"","url":"https://api.github.com/users/mybits","html_url":"https://github.com/mybits","followers_url":"https://api.github.com/users/mybits/followers","following_url":"https://api.github.com/users/mybits/following{/other_user}","gists_url":"https://api.github.com/users/mybits/gists{/gist_id}","starred_url":"https://api.github.com/users/mybits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mybits/subscriptions","organizations_url":"https://api.github.com/users/mybits/orgs","repos_url":"https://api.github.com/users/mybits/repos","events_url":"https://api.github.com/users/mybits/events{/privacy}","received_events_url":"https://api.github.com/users/mybits/received_events","type":"User","site_admin":false},"body":"When we tweet our blog posts urls we want them to look like this:\r\n\r\n![screen shot 2016-10-25 at 17 08 56](https://cloud.githubusercontent.com/assets/5237879/19694121/f8d4cc08-9ad5-11e6-9af8-3bfd1f9b70f7.png)\r\n\r\nrather than this:\r\n\r\n![screen shot 2016-10-25 at 10 35 35](https://cloud.githubusercontent.com/assets/5237879/19690362/7799939c-9ac8-11e6-92e0-5fbfdb73523e.png)\r\n\r\n\r\nTwitter documentation: https://dev.twitter.com/cards/getting-started","created_at":"2016-10-25T14:34:09Z","updated_at":"2016-10-26T14:12:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f5a2c223ec4e88ae8a9d17b449b2cd63d53524ea","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/pulls/228/commits","review_comments_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/pulls/228/comments","review_comment_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/issues/228/comments","statuses_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/statuses/739219a9b02c0b62ba8963dbd603f09175fda48f","head":{"label":"unboxed:twitter_cards","ref":"twitter_cards","sha":"739219a9b02c0b62ba8963dbd603f09175fda48f","user":{"login":"unboxed","id":47633,"avatar_url":"https://avatars.githubusercontent.com/u/47633?v=3","gravatar_id":"","url":"https://api.github.com/users/unboxed","html_url":"https://github.com/unboxed","followers_url":"https://api.github.com/users/unboxed/followers","following_url":"https://api.github.com/users/unboxed/following{/other_user}","gists_url":"https://api.github.com/users/unboxed/gists{/gist_id}","starred_url":"https://api.github.com/users/unboxed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unboxed/subscriptions","organizations_url":"https://api.github.com/users/unboxed/orgs","repos_url":"https://api.github.com/users/unboxed/repos","events_url":"https://api.github.com/users/unboxed/events{/privacy}","received_events_url":"https://api.github.com/users/unboxed/received_events","type":"Organization","site_admin":false},"repo":{"id":38612632,"name":"ubxd_web_refresh","full_name":"unboxed/ubxd_web_refresh","owner":{"login":"unboxed","id":47633,"avatar_url":"https://avatars.githubusercontent.com/u/47633?v=3","gravatar_id":"","url":"https://api.github.com/users/unboxed","html_url":"https://github.com/unboxed","followers_url":"https://api.github.com/users/unboxed/followers","following_url":"https://api.github.com/users/unboxed/following{/other_user}","gists_url":"https://api.github.com/users/unboxed/gists{/gist_id}","starred_url":"https://api.github.com/users/unboxed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unboxed/subscriptions","organizations_url":"https://api.github.com/users/unboxed/orgs","repos_url":"https://api.github.com/users/unboxed/repos","events_url":"https://api.github.com/users/unboxed/events{/privacy}","received_events_url":"https://api.github.com/users/unboxed/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/unboxed/ubxd_web_refresh","description":"The new UBXD website","fork":false,"url":"https://api.github.com/repos/unboxed/ubxd_web_refresh","forks_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/forks","keys_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/teams","hooks_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/hooks","issue_events_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/issues/events{/number}","events_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/events","assignees_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/assignees{/user}","branches_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/branches{/branch}","tags_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/tags","blobs_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/git/refs{/sha}","trees_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/statuses/{sha}","languages_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/languages","stargazers_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/stargazers","contributors_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/contributors","subscribers_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/subscribers","subscription_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/subscription","commits_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/commits{/sha}","git_commits_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/git/commits{/sha}","comments_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/comments{/number}","issue_comment_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/issues/comments{/number}","contents_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/contents/{+path}","compare_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/merges","archive_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/downloads","issues_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/issues{/number}","pulls_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/pulls{/number}","milestones_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/milestones{/number}","notifications_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/labels{/name}","releases_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/releases{/id}","deployments_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/deployments","created_at":"2015-07-06T10:37:50Z","updated_at":"2016-10-24T14:28:29Z","pushed_at":"2016-10-26T13:53:44Z","git_url":"git://github.com/unboxed/ubxd_web_refresh.git","ssh_url":"git@github.com:unboxed/ubxd_web_refresh.git","clone_url":"https://github.com/unboxed/ubxd_web_refresh.git","svn_url":"https://github.com/unboxed/ubxd_web_refresh","homepage":"http://unboxed.co","size":86500,"stargazers_count":3,"watchers_count":3,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":3,"default_branch":"production"}},"base":{"label":"unboxed:staging","ref":"staging","sha":"c7220b1b67527fdf7e08a6aab50a4864449f8eb7","user":{"login":"unboxed","id":47633,"avatar_url":"https://avatars.githubusercontent.com/u/47633?v=3","gravatar_id":"","url":"https://api.github.com/users/unboxed","html_url":"https://github.com/unboxed","followers_url":"https://api.github.com/users/unboxed/followers","following_url":"https://api.github.com/users/unboxed/following{/other_user}","gists_url":"https://api.github.com/users/unboxed/gists{/gist_id}","starred_url":"https://api.github.com/users/unboxed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unboxed/subscriptions","organizations_url":"https://api.github.com/users/unboxed/orgs","repos_url":"https://api.github.com/users/unboxed/repos","events_url":"https://api.github.com/users/unboxed/events{/privacy}","received_events_url":"https://api.github.com/users/unboxed/received_events","type":"Organization","site_admin":false},"repo":{"id":38612632,"name":"ubxd_web_refresh","full_name":"unboxed/ubxd_web_refresh","owner":{"login":"unboxed","id":47633,"avatar_url":"https://avatars.githubusercontent.com/u/47633?v=3","gravatar_id":"","url":"https://api.github.com/users/unboxed","html_url":"https://github.com/unboxed","followers_url":"https://api.github.com/users/unboxed/followers","following_url":"https://api.github.com/users/unboxed/following{/other_user}","gists_url":"https://api.github.com/users/unboxed/gists{/gist_id}","starred_url":"https://api.github.com/users/unboxed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unboxed/subscriptions","organizations_url":"https://api.github.com/users/unboxed/orgs","repos_url":"https://api.github.com/users/unboxed/repos","events_url":"https://api.github.com/users/unboxed/events{/privacy}","received_events_url":"https://api.github.com/users/unboxed/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/unboxed/ubxd_web_refresh","description":"The new UBXD website","fork":false,"url":"https://api.github.com/repos/unboxed/ubxd_web_refresh","forks_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/forks","keys_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/teams","hooks_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/hooks","issue_events_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/issues/events{/number}","events_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/events","assignees_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/assignees{/user}","branches_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/branches{/branch}","tags_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/tags","blobs_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/git/refs{/sha}","trees_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/statuses/{sha}","languages_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/languages","stargazers_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/stargazers","contributors_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/contributors","subscribers_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/subscribers","subscription_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/subscription","commits_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/commits{/sha}","git_commits_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/git/commits{/sha}","comments_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/comments{/number}","issue_comment_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/issues/comments{/number}","contents_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/contents/{+path}","compare_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/merges","archive_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/downloads","issues_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/issues{/number}","pulls_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/pulls{/number}","milestones_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/milestones{/number}","notifications_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/labels{/name}","releases_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/releases{/id}","deployments_url":"https://api.github.com/repos/unboxed/ubxd_web_refresh/deployments","created_at":"2015-07-06T10:37:50Z","updated_at":"2016-10-24T14:28:29Z","pushed_at":"2016-10-26T13:53:44Z","git_url":"git://github.com/unboxed/ubxd_web_refresh.git","ssh_url":"git@github.com:unboxed/ubxd_web_refresh.git","clone_url":"https://github.com/unboxed/ubxd_web_refresh.git","svn_url":"https://github.com/unboxed/ubxd_web_refresh","homepage":"http://unboxed.co","size":86500,"stargazers_count":3,"watchers_count":3,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":3,"default_branch":"production"}},"_links":{"self":{"href":"https://api.github.com/repos/unboxed/ubxd_web_refresh/pulls/228"},"html":{"href":"https://github.com/unboxed/ubxd_web_refresh/pull/228"},"issue":{"href":"https://api.github.com/repos/unboxed/ubxd_web_refresh/issues/228"},"comments":{"href":"https://api.github.com/repos/unboxed/ubxd_web_refresh/issues/228/comments"},"review_comments":{"href":"https://api.github.com/repos/unboxed/ubxd_web_refresh/pulls/228/comments"},"review_comment":{"href":"https://api.github.com/repos/unboxed/ubxd_web_refresh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/unboxed/ubxd_web_refresh/pulls/228/commits"},"statuses":{"href":"https://api.github.com/repos/unboxed/ubxd_web_refresh/statuses/739219a9b02c0b62ba8963dbd603f09175fda48f"}}}}
{"actor":{"display_login":"tomsabin"}}