{"action":"created","issue":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/3039","repository_url":"https://api.github.com/repos/ampproject/amphtml","labels_url":"https://api.github.com/repos/ampproject/amphtml/issues/3039/labels{/name}","comments_url":"https://api.github.com/repos/ampproject/amphtml/issues/3039/comments","events_url":"https://api.github.com/repos/ampproject/amphtml/issues/3039/events","html_url":"https://github.com/ampproject/amphtml/issues/3039","id":151751141,"number":3039,"title":"Intent to implement: Disqus comments embed","user":{"login":"Met48","id":86125,"avatar_url":"https://avatars.githubusercontent.com/u/86125?v=3","gravatar_id":"","url":"https://api.github.com/users/Met48","html_url":"https://github.com/Met48","followers_url":"https://api.github.com/users/Met48/followers","following_url":"https://api.github.com/users/Met48/following{/other_user}","gists_url":"https://api.github.com/users/Met48/gists{/gist_id}","starred_url":"https://api.github.com/users/Met48/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Met48/subscriptions","organizations_url":"https://api.github.com/users/Met48/orgs","repos_url":"https://api.github.com/users/Met48/repos","events_url":"https://api.github.com/users/Met48/events{/privacy}","received_events_url":"https://api.github.com/users/Met48/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ampproject/amphtml/labels/INTENT%20TO%20IMPLEMENT","name":"INTENT TO IMPLEMENT","color":"fbca04"},{"url":"https://api.github.com/repos/ampproject/amphtml/labels/Related%20to:%20Content","name":"Related to: Content","color":"d4c5f9"},{"url":"https://api.github.com/repos/ampproject/amphtml/labels/Type:%20Feature","name":"Type: Feature","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ampproject/amphtml/milestones/11","html_url":"https://github.com/ampproject/amphtml/milestones/Pending%203P%20Implementation","labels_url":"https://api.github.com/repos/ampproject/amphtml/milestones/11/labels","id":1621313,"number":11,"title":"Pending 3P Implementation","description":"","creator":{"login":"rudygalfi","id":3888212,"avatar_url":"https://avatars.githubusercontent.com/u/3888212?v=3","gravatar_id":"","url":"https://api.github.com/users/rudygalfi","html_url":"https://github.com/rudygalfi","followers_url":"https://api.github.com/users/rudygalfi/followers","following_url":"https://api.github.com/users/rudygalfi/following{/other_user}","gists_url":"https://api.github.com/users/rudygalfi/gists{/gist_id}","starred_url":"https://api.github.com/users/rudygalfi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudygalfi/subscriptions","organizations_url":"https://api.github.com/users/rudygalfi/orgs","repos_url":"https://api.github.com/users/rudygalfi/repos","events_url":"https://api.github.com/users/rudygalfi/events{/privacy}","received_events_url":"https://api.github.com/users/rudygalfi/received_events","type":"User","site_admin":false},"open_issues":27,"closed_issues":12,"state":"open","created_at":"2016-03-04T00:20:47Z","updated_at":"2016-04-29T21:12:27Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-04-28T21:47:54Z","updated_at":"2016-05-02T17:53:32Z","closed_at":null,"body":"This proposed `amp-disqus` component would embed Disqus comments inside an iframe.\r\n\r\nThere is a demo page of this embed here: http://northisup.github.io/disqusamp/amp-demo/\r\n\r\nThe demo loads a lightweight non-interactive iframe with the top comments of the thread, along with a \"Read Discussion\" button which opens the fully interactive comments in a new window.\r\n\r\n\r\nAs an amp component, it could be embedded like this:\r\n\r\n```html\r\n<amp-disqus\r\n    height=\"400\"\r\n    data-shortname=\"northisup\"\r\n    data-identifier=\"/amp-demo/\"\r\n    data-url=\"http://northisup.github.io/disqusamp/amp-demo/\">\r\n</amp-disqus>\r\n```\r\n\r\nThe `data-` attributes would match the configuration options set for the existing embed via [`disqus_config`](https://help.disqus.com/customer/portal/articles/472098-javascript-configuration-variables). `data-shortname` is required to identify the publisher. `data-identifier` and `data-url` would be recommended to identify the discussion thread. If omitted, some attributes (ex. `data-url` and `data-title`) would be automatically determined from the container page, at the risk that implicit page identification creates duplicate discussion threads.\r\n"},"comment":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/comments/216309558","html_url":"https://github.com/ampproject/amphtml/issues/3039#issuecomment-216309558","issue_url":"https://api.github.com/repos/ampproject/amphtml/issues/3039","id":216309558,"user":{"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},"created_at":"2016-05-02T17:53:32Z","updated_at":"2016-05-02T17:53:32Z","body":"If this is not interactive, could it be done as a server side integration instead?"}}