{"action":"created","issue":{"url":"https://api.github.com/repos/DoSomething/phoenix/issues/6595","repository_url":"https://api.github.com/repos/DoSomething/phoenix","labels_url":"https://api.github.com/repos/DoSomething/phoenix/issues/6595/labels{/name}","comments_url":"https://api.github.com/repos/DoSomething/phoenix/issues/6595/comments","events_url":"https://api.github.com/repos/DoSomething/phoenix/issues/6595/events","html_url":"https://github.com/DoSomething/phoenix/pull/6595","id":159680637,"number":6595,"title":"Custom setting unique social share links and text ","user":{"login":"chloealee","id":9019452,"avatar_url":"https://avatars.githubusercontent.com/u/9019452?v=3","gravatar_id":"","url":"https://api.github.com/users/chloealee","html_url":"https://github.com/chloealee","followers_url":"https://api.github.com/users/chloealee/followers","following_url":"https://api.github.com/users/chloealee/following{/other_user}","gists_url":"https://api.github.com/users/chloealee/gists{/gist_id}","starred_url":"https://api.github.com/users/chloealee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chloealee/subscriptions","organizations_url":"https://api.github.com/users/chloealee/orgs","repos_url":"https://api.github.com/users/chloealee/repos","events_url":"https://api.github.com/users/chloealee/events{/privacy}","received_events_url":"https://api.github.com/users/chloealee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"angaither","id":645205,"avatar_url":"https://avatars.githubusercontent.com/u/645205?v=3","gravatar_id":"","url":"https://api.github.com/users/angaither","html_url":"https://github.com/angaither","followers_url":"https://api.github.com/users/angaither/followers","following_url":"https://api.github.com/users/angaither/following{/other_user}","gists_url":"https://api.github.com/users/angaither/gists{/gist_id}","starred_url":"https://api.github.com/users/angaither/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angaither/subscriptions","organizations_url":"https://api.github.com/users/angaither/orgs","repos_url":"https://api.github.com/users/angaither/repos","events_url":"https://api.github.com/users/angaither/events{/privacy}","received_events_url":"https://api.github.com/users/angaither/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-06-10T17:11:37Z","updated_at":"2016-06-13T16:56:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/DoSomething/phoenix/pulls/6595","html_url":"https://github.com/DoSomething/phoenix/pull/6595","diff_url":"https://github.com/DoSomething/phoenix/pull/6595.diff","patch_url":"https://github.com/DoSomething/phoenix/pull/6595.patch"},"body":"#### What's this PR do?\r\nCreates a custom setting to enable and configure unique social share links. \r\n\r\n#### How should this be reviewed?\r\n- Click on a campaign \r\n- Go to the \"CUSTOM SETTINGS\" tab\r\n- Click the \"Create unique social share links for each user\" check box under \"CUSTOM SOCIAL SHARING\" \r\n- Add dummy text in \"Custom social share language\" field\r\n- Save and `drush cc all`. \r\n- Click \"VIEW\" tab. \r\n- Click on Facebook share - the link should have this pattern `https://www.facebook.com/dialog/feed?app_id=1374507732873066&display=popup&link=http%3A//dev.dosomething.org%3A8888/us/campaigns/test-campaign%3Fsource%3D1704953%` etc. with `source` = your `uid`. \r\n- Click on Twitter share - you should see your dummy text in the caption pop pre-populated along with a URL with the following pattern: `http://dev.dosomething.org:8888/us/campaigns/test-campaign?source=1704953?` etc. with `source` = your `uid`.\r\n- Tumblr share should be the same (Tumblr won't allow us to can't test on dev) \r\n- Go back to the \"CUSTOM SOCIAL SHARING\" tab. \r\n- Uncheck box and delete your custom social share language. \r\n- Save and `drush cc all`\r\n- Click on Facebook share - you should no longer see `source` with your `uid` in the URL. \r\n- Click on Twitter share - again, you shouldn't see `source` with your `uid` in the URL and caption should just be campaign's CTA. \r\n\r\n#### Relevant tickets\r\nFixes #6584 \r\n"},"comment":{"url":"https://api.github.com/repos/DoSomething/phoenix/issues/comments/225642270","html_url":"https://github.com/DoSomething/phoenix/pull/6595#issuecomment-225642270","issue_url":"https://api.github.com/repos/DoSomething/phoenix/issues/6595","id":225642270,"user":{"login":"angaither","id":645205,"avatar_url":"https://avatars.githubusercontent.com/u/645205?v=3","gravatar_id":"","url":"https://api.github.com/users/angaither","html_url":"https://github.com/angaither","followers_url":"https://api.github.com/users/angaither/followers","following_url":"https://api.github.com/users/angaither/following{/other_user}","gists_url":"https://api.github.com/users/angaither/gists{/gist_id}","starred_url":"https://api.github.com/users/angaither/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angaither/subscriptions","organizations_url":"https://api.github.com/users/angaither/orgs","repos_url":"https://api.github.com/users/angaither/repos","events_url":"https://api.github.com/users/angaither/events{/privacy}","received_events_url":"https://api.github.com/users/angaither/received_events","type":"User","site_admin":false},"created_at":"2016-06-13T16:56:47Z","updated_at":"2016-06-13T16:56:47Z","body":"👍 "}}
{"actor":{"display_login":"angaither"}}