{"action":"created","issue":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/314","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/314/labels{/name}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/314/comments","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/314/events","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/314","id":95689338,"number":314,"title":"Embedded tweets don't display properly","user":{"login":"diomed","id":72777,"avatar_url":"https://avatars.githubusercontent.com/u/72777?v=3","gravatar_id":"","url":"https://api.github.com/users/diomed","html_url":"https://github.com/diomed","followers_url":"https://api.github.com/users/diomed/followers","following_url":"https://api.github.com/users/diomed/following{/other_user}","gists_url":"https://api.github.com/users/diomed/gists{/gist_id}","starred_url":"https://api.github.com/users/diomed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diomed/subscriptions","organizations_url":"https://api.github.com/users/diomed/orgs","repos_url":"https://api.github.com/users/diomed/repos","events_url":"https://api.github.com/users/diomed/events{/privacy}","received_events_url":"https://api.github.com/users/diomed/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/Enhancement","name":"Enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-17T16:11:27Z","updated_at":"2015-07-29T14:33:26Z","closed_at":null,"body":"They used to display normally in blue box, now they don't, and display characters that shouldn't be displayed (&quot;)\r\n\r\n![x](http://i.imgur.com/ngQtB5B.png)"},"comment":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/comments/125970833","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/314#issuecomment-125970833","issue_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/314","id":125970833,"user":{"login":"rodrigok","id":234261,"avatar_url":"https://avatars.githubusercontent.com/u/234261?v=3","gravatar_id":"","url":"https://api.github.com/users/rodrigok","html_url":"https://github.com/rodrigok","followers_url":"https://api.github.com/users/rodrigok/followers","following_url":"https://api.github.com/users/rodrigok/following{/other_user}","gists_url":"https://api.github.com/users/rodrigok/gists{/gist_id}","starred_url":"https://api.github.com/users/rodrigok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodrigok/subscriptions","organizations_url":"https://api.github.com/users/rodrigok/orgs","repos_url":"https://api.github.com/users/rodrigok/repos","events_url":"https://api.github.com/users/rodrigok/events{/privacy}","received_events_url":"https://api.github.com/users/rodrigok/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T14:33:26Z","updated_at":"2015-07-29T14:33:26Z","body":"Unfortunately the tweet page does not provide all necessary informations via meta tags as you can see below.\r\n\r\nI started a branch with initial templates for twitter render: https://github.com/RocketChat/Rocket.Chat/tree/twitter-oembed\r\n\r\n```json\r\n{\r\n  \"url\": \"https://twitter.com/Interior/status/463440424141459456\",\r\n  \"meta\": {\r\n    \"pageTitle\": \"US Dept of Interior no Twitter: &quot;Sunsets don&#39;t get much better than this one over @GrandTetonNPS. #nature #sunset http://t.co/YuKy2rcjyU&quot; .\",\r\n    \"ogType\": \"article\",\r\n    \"ogUrl\": \"https://twitter.com/Interior/status/463440424141459456\",\r\n    \"ogTitle\": \"US Dept of Interior on Twitter\",\r\n    \"ogImage\": \"https://pbs.twimg.com/media/Bm54nBCCYAACwBi.jpg:large\",\r\n    \"ogImageUserGenerated\": \"true\",\r\n    \"ogDescription\": \"“Sunsets don&#39;t get much better than this one over @GrandTetonNPS. #nature #sunset”\",\r\n    \"ogSiteName\": \"Twitter\",\r\n    \"fbAppId\": \"2231777543\"\r\n  },\r\n  \"headers\": {\r\n    \"contentLength\": \"265900\",\r\n    \"contentType\": \"text/html;charset=utf-8\"\r\n  },\r\n  \"parsedUrl\": {\r\n    \"host\": \"twitter.com\",\r\n    \"hash\": null,\r\n    \"pathname\": \"/Interior/status/463440424141459456\",\r\n    \"protocol\": \"https:\",\r\n    \"port\": null,\r\n    \"query\": null\r\n  }\r\n}\r\n```"}}