{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/4399","repository_url":"https://api.github.com/repos/Automattic/jetpack","labels_url":"https://api.github.com/repos/Automattic/jetpack/issues/4399/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/jetpack/issues/4399/comments","events_url":"https://api.github.com/repos/Automattic/jetpack/issues/4399/events","html_url":"https://github.com/Automattic/jetpack/issues/4399","id":165417153,"number":4399,"title":"Syndicating WP content to Tumblr includes sharedaddy div","user":{"login":"chrisaldrich","id":5882943,"avatar_url":"https://avatars.githubusercontent.com/u/5882943?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisaldrich","html_url":"https://github.com/chrisaldrich","followers_url":"https://api.github.com/users/chrisaldrich/followers","following_url":"https://api.github.com/users/chrisaldrich/following{/other_user}","gists_url":"https://api.github.com/users/chrisaldrich/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisaldrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisaldrich/subscriptions","organizations_url":"https://api.github.com/users/chrisaldrich/orgs","repos_url":"https://api.github.com/users/chrisaldrich/repos","events_url":"https://api.github.com/users/chrisaldrich/events{/privacy}","received_events_url":"https://api.github.com/users/chrisaldrich/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/jetpack/labels/Sharing","name":"Sharing","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/jetpack/labels/[Status]%20Needs%20Author%20Reply","name":"[Status] Needs Author Reply","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-07-13T20:44:30Z","updated_at":"2016-07-28T11:07:03Z","closed_at":null,"body":"<!-- Thanks for contributing to Jetpack! Pick a clear title (\"Sharing: add new Facebook button\") and proceed. -->\r\n\r\n#### Steps to reproduce the issue\r\nI'm using [Social Network Auto-Poster](https://wordpress.org/plugins/social-networks-auto-poster-facebook-twitter-g/) (rather than Jetpack's Publicize because it includes more control over post types and additional platforms) to syndicate my WP content to my Tumblr. I'm using their standard \"Text Post\" option with the text set to include `<p><img src='%IMG%'/></p><p>%FULLTEXT%</p>`\r\n\r\n#### What I expected\r\nThe copy on Tumblr should simply transfer only the user's input in the post from WP into the Tumblr post.\r\n \r\n#### What happened instead\r\nI get the content of the post, but I'm also getting a div with all the class=sharedaddy etc. (see below) appended to the bottom of the post which generates the Like prompt/button/functionality and the word \"Loading...\". (Example: See bottom of http://chrisaldrich.tumblr.com/post/142661877457/a-new-view-of-the-tree-of-life which was syndicated from http://boffosocko.com/2016/04/11/a-new-view-of-the-tree-of-life/)\r\n\r\nHere's the HTML that's being copied over and displaying unnecessarily.\r\n`<div class=\"sharedaddy sd-block sd-like jetpack-likes-widget-wrapper jetpack-likes-widget-unloaded\" id=\"like-post-wrapper-67433065-0-570c56a68fcae\" data-src=\"//widgets.wp.com/likes/#blog_id=67433065&amp;post_id=0&amp;origin=boffosocko.com&amp;obj_id=67433065-0-570c56a68fcae\" data-name=\"like-post-frame-67433065-0-570c56a68fcae\"><h3 class=\"sd-title\">Like this:</h3><div class=\"likes-widget-placeholder post-likes-widget-placeholder\" style=\"height:55px\"><span class=\"button\"><span>Like</span></span> <span class=\"loading\">Loading...</span></div><span class=\"sd-text-color\"></span><a class=\"sd-link-color\"></a></div></div>\r\n`\r\n\r\nGenerally, this doesn't happen when syndicating content like this into other platforms (though this could be because other platforms, Facebook for example, may be stripping out all other html and thus precluding this). Additionally, for example, it's not copying over Jetpack's \"Share This\" or \"Related\" posts content which also sit inside the main `<div class=\"e-content\">` which I suspect is the general section being copied over. \r\n\r\nIn short: Why is the \"Like\" functionality being copied over while \"Sharing\" and \"Related\" aren't?\r\n\r\n<!--\r\nPLEASE NOTE\r\n- These comments won't show up when you submit the issue.\r\n- Everything is optional, but try to add as many details as possible.\r\n- If requesting a new feature, explain why you'd like to see it added.\r\n- This issue tracker is not for support. If you have questions about Jetpack, you can [start a new thread in the Jetpack support forums](http://wordpress.org/support/plugin/jetpack#postform), or [send us an email](http://jetpack.com/contact-support/).\r\n- Do not report potential security vulnerabilities here. For responsible disclosure of security issues and to be eligible for our bug bounty program, please submit your report via [the HackerOne portal](https://hackerone.com/automattic).\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/comments/235865451","html_url":"https://github.com/Automattic/jetpack/issues/4399#issuecomment-235865451","issue_url":"https://api.github.com/repos/Automattic/jetpack/issues/4399","id":235865451,"user":{"login":"jeherve","id":426388,"avatar_url":"https://avatars.githubusercontent.com/u/426388?v=3","gravatar_id":"","url":"https://api.github.com/users/jeherve","html_url":"https://github.com/jeherve","followers_url":"https://api.github.com/users/jeherve/followers","following_url":"https://api.github.com/users/jeherve/following{/other_user}","gists_url":"https://api.github.com/users/jeherve/gists{/gist_id}","starred_url":"https://api.github.com/users/jeherve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeherve/subscriptions","organizations_url":"https://api.github.com/users/jeherve/orgs","repos_url":"https://api.github.com/users/jeherve/repos","events_url":"https://api.github.com/users/jeherve/events{/privacy}","received_events_url":"https://api.github.com/users/jeherve/received_events","type":"User","site_admin":false},"created_at":"2016-07-28T11:07:03Z","updated_at":"2016-07-28T11:07:03Z","body":"@chrisaldrich Sorry to hear that :(\r\n\r\nCould you try to move my patch a bit downer, like so, and let me know how it goes?\r\nhttps://github.com/Automattic/jetpack/commit/027e815b0e1c308544c62db203c4376a69f77d22\r\n\r\nThanks!"}}
{"actor":{"display_login":"jeherve"}}