{"action":"created","issue":{"url":"https://api.github.com/repos/EvictionLab/eviction-maps/issues/291","repository_url":"https://api.github.com/repos/EvictionLab/eviction-maps","labels_url":"https://api.github.com/repos/EvictionLab/eviction-maps/issues/291/labels{/name}","comments_url":"https://api.github.com/repos/EvictionLab/eviction-maps/issues/291/comments","events_url":"https://api.github.com/repos/EvictionLab/eviction-maps/issues/291/events","html_url":"https://github.com/EvictionLab/eviction-maps/issues/291","id":282484453,"number":291,"title":"Social share for graph image","user":{"login":"pjsier","id":8291663,"avatar_url":"https://avatars1.githubusercontent.com/u/8291663?v=4","gravatar_id":"","url":"https://api.github.com/users/pjsier","html_url":"https://github.com/pjsier","followers_url":"https://api.github.com/users/pjsier/followers","following_url":"https://api.github.com/users/pjsier/following{/other_user}","gists_url":"https://api.github.com/users/pjsier/gists{/gist_id}","starred_url":"https://api.github.com/users/pjsier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjsier/subscriptions","organizations_url":"https://api.github.com/users/pjsier/orgs","repos_url":"https://api.github.com/users/pjsier/repos","events_url":"https://api.github.com/users/pjsier/events{/privacy}","received_events_url":"https://api.github.com/users/pjsier/received_events","type":"User","site_admin":false},"labels":[{"id":709750340,"url":"https://api.github.com/repos/EvictionLab/eviction-maps/labels/feature","name":"feature","color":"0052cc","default":false},{"id":670248980,"url":"https://api.github.com/repos/EvictionLab/eviction-maps/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-12-15T16:45:23Z","updated_at":"2017-12-18T18:25:12Z","closed_at":null,"author_association":"OWNER","body":"There's a potential interest in automatically including an image of the graph the user is looking at for social share directly in the post, rather than having someone screenshot it. We'll have to look and see if this is possible"},"comment":{"url":"https://api.github.com/repos/EvictionLab/eviction-maps/issues/comments/352515554","html_url":"https://github.com/EvictionLab/eviction-maps/issues/291#issuecomment-352515554","issue_url":"https://api.github.com/repos/EvictionLab/eviction-maps/issues/291","id":352515554,"user":{"login":"pjsier","id":8291663,"avatar_url":"https://avatars1.githubusercontent.com/u/8291663?v=4","gravatar_id":"","url":"https://api.github.com/users/pjsier","html_url":"https://github.com/pjsier","followers_url":"https://api.github.com/users/pjsier/followers","following_url":"https://api.github.com/users/pjsier/following{/other_user}","gists_url":"https://api.github.com/users/pjsier/gists{/gist_id}","starred_url":"https://api.github.com/users/pjsier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjsier/subscriptions","organizations_url":"https://api.github.com/users/pjsier/orgs","repos_url":"https://api.github.com/users/pjsier/repos","events_url":"https://api.github.com/users/pjsier/events{/privacy}","received_events_url":"https://api.github.com/users/pjsier/received_events","type":"User","site_admin":false},"created_at":"2017-12-18T18:25:12Z","updated_at":"2017-12-18T18:25:12Z","author_association":"OWNER","body":"I think it's pretty safe to say this isn't possible at this point. Looked through the Twitter and Facebook APIs again, and neither one has any parameter for uploading an image through the API. The only way to do it would be to set the open graph metadata dynamically, but that would require server side rendering which we're not doing because Facebook (and likely Twitter, but didn't confirm) doesn't parse any JavaScript when pulling the metadata.\r\n\r\nWe could potentially look into making it easy for people to download the image, but I would imagine most people would just screenshot and may even not see a download button"}}
{"actor":{"display_login":"pjsier"}}