{"action":"closed","issue":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/2530","repository_url":"https://api.github.com/repos/ampproject/amphtml","labels_url":"https://api.github.com/repos/ampproject/amphtml/issues/2530/labels{/name}","comments_url":"https://api.github.com/repos/ampproject/amphtml/issues/2530/comments","events_url":"https://api.github.com/repos/ampproject/amphtml/issues/2530/events","html_url":"https://github.com/ampproject/amphtml/issues/2530","id":139911438,"number":2530,"title":"A single missing Twitter post may cause many posts not to display","user":{"login":"samsm-turner","id":8103654,"avatar_url":"https://avatars.githubusercontent.com/u/8103654?v=3","gravatar_id":"","url":"https://api.github.com/users/samsm-turner","html_url":"https://github.com/samsm-turner","followers_url":"https://api.github.com/users/samsm-turner/followers","following_url":"https://api.github.com/users/samsm-turner/following{/other_user}","gists_url":"https://api.github.com/users/samsm-turner/gists{/gist_id}","starred_url":"https://api.github.com/users/samsm-turner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samsm-turner/subscriptions","organizations_url":"https://api.github.com/users/samsm-turner/orgs","repos_url":"https://api.github.com/users/samsm-turner/repos","events_url":"https://api.github.com/users/samsm-turner/events{/privacy}","received_events_url":"https://api.github.com/users/samsm-turner/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ampproject/amphtml/labels/Priority:%20High","name":"Priority: High","color":"eb6420"},{"url":"https://api.github.com/repos/ampproject/amphtml/labels/Type:%20Bug","name":"Type: Bug","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":{"login":"cramforce","id":89679,"avatar_url":"https://avatars.githubusercontent.com/u/89679?v=3","gravatar_id":"","url":"https://api.github.com/users/cramforce","html_url":"https://github.com/cramforce","followers_url":"https://api.github.com/users/cramforce/followers","following_url":"https://api.github.com/users/cramforce/following{/other_user}","gists_url":"https://api.github.com/users/cramforce/gists{/gist_id}","starred_url":"https://api.github.com/users/cramforce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cramforce/subscriptions","organizations_url":"https://api.github.com/users/cramforce/orgs","repos_url":"https://api.github.com/users/cramforce/repos","events_url":"https://api.github.com/users/cramforce/events{/privacy}","received_events_url":"https://api.github.com/users/cramforce/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-03-10T14:55:06Z","updated_at":"2016-03-11T17:55:36Z","closed_at":"2016-03-11T17:55:36Z","body":"We have some articles that use many Twitter embeds in the process of telling a story. If one of these Twitter posts has been deleted, the failure seems to affect several other posts as well.\r\n\r\nSo for example, on a page with the following Twitter embeds:\r\n```\r\nvalid1\r\nvalid2\r\nmissing1\r\nvalid3 \r\nvalid4\r\n```\r\nmissing1 doesn't appear (which makes sense) but valid3 and valid4 also might not load.\r\n\r\n[Here's screenshot](http://samsm.com/whatever/skitch/Screenshot_3_10_16__8_58_AM_1C91BAC5.png)\r\n\r\nThe error is: \r\n```\r\nUncaught (in promise) TypeError {message: \"Cannot read property 'contentWindow' of null\"}message: \"Cannot read property 'contentWindow' of null\" twitter.js:55\r\n```\r\n\r\nHere's [an example](http://samsm.com/whatever/amp-twitter-example.html) of the sort of markup we are using. \r\n623637080355270656 is the missing post id (after \"Imma let you finish but\"). The rest in that document should be good. Quickly scrolling to that part of the page seems to usually reproduce the issue, although occasionally only the missing Tweet will be missing.\r\n\r\nWe are going to attack this from the other side and try to not publish deleted Tweets, but it seems inevitable that some will briefly sneak through.\r\n\r\nThanks for reading. Please let me know if you have any questions.\r\n\r\nSam"}}