{"action":"created","issue":{"url":"https://api.github.com/repos/UCMercedACM/Website-Theme/issues/8","labels_url":"https://api.github.com/repos/UCMercedACM/Website-Theme/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/UCMercedACM/Website-Theme/issues/8/comments","events_url":"https://api.github.com/repos/UCMercedACM/Website-Theme/issues/8/events","html_url":"https://github.com/UCMercedACM/Website-Theme/issues/8","id":50621799,"number":8,"title":"Events Page Should Auto Pull From Facebook","user":{"login":"mattbucci","id":3284147,"avatar_url":"https://avatars.githubusercontent.com/u/3284147?v=3","gravatar_id":"","url":"https://api.github.com/users/mattbucci","html_url":"https://github.com/mattbucci","followers_url":"https://api.github.com/users/mattbucci/followers","following_url":"https://api.github.com/users/mattbucci/following{/other_user}","gists_url":"https://api.github.com/users/mattbucci/gists{/gist_id}","starred_url":"https://api.github.com/users/mattbucci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattbucci/subscriptions","organizations_url":"https://api.github.com/users/mattbucci/orgs","repos_url":"https://api.github.com/users/mattbucci/repos","events_url":"https://api.github.com/users/mattbucci/events{/privacy}","received_events_url":"https://api.github.com/users/mattbucci/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/UCMercedACM/Website-Theme/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/UCMercedACM/Website-Theme/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":{"login":"Freaks32","id":5546456,"avatar_url":"https://avatars.githubusercontent.com/u/5546456?v=3","gravatar_id":"","url":"https://api.github.com/users/Freaks32","html_url":"https://github.com/Freaks32","followers_url":"https://api.github.com/users/Freaks32/followers","following_url":"https://api.github.com/users/Freaks32/following{/other_user}","gists_url":"https://api.github.com/users/Freaks32/gists{/gist_id}","starred_url":"https://api.github.com/users/Freaks32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Freaks32/subscriptions","organizations_url":"https://api.github.com/users/Freaks32/orgs","repos_url":"https://api.github.com/users/Freaks32/repos","events_url":"https://api.github.com/users/Freaks32/events{/privacy}","received_events_url":"https://api.github.com/users/Freaks32/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/UCMercedACM/Website-Theme/milestones/1","labels_url":"https://api.github.com/repos/UCMercedACM/Website-Theme/milestones/1/labels","id":949255,"number":1,"title":"Release Candidate","description":null,"creator":{"login":"Freaks32","id":5546456,"avatar_url":"https://avatars.githubusercontent.com/u/5546456?v=3","gravatar_id":"","url":"https://api.github.com/users/Freaks32","html_url":"https://github.com/Freaks32","followers_url":"https://api.github.com/users/Freaks32/followers","following_url":"https://api.github.com/users/Freaks32/following{/other_user}","gists_url":"https://api.github.com/users/Freaks32/gists{/gist_id}","starred_url":"https://api.github.com/users/Freaks32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Freaks32/subscriptions","organizations_url":"https://api.github.com/users/Freaks32/orgs","repos_url":"https://api.github.com/users/Freaks32/repos","events_url":"https://api.github.com/users/Freaks32/events{/privacy}","received_events_url":"https://api.github.com/users/Freaks32/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2015-01-23T23:01:17Z","updated_at":"2015-01-23T23:08:50Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2014-12-02T07:55:33Z","updated_at":"2015-01-24T21:55:19Z","closed_at":null,"body":"see: https://developers.facebook.com/docs/graph-api/reference/v2.2/group/events\r\n\r\nA php script should be put into the /scripts/ dir and return json for the frontend to process. We can populate the page with javascript. This model is preferable because we cannot live preview php. Caching must be used for the script or this will be SLOOOOW"},"comment":{"url":"https://api.github.com/repos/UCMercedACM/Website-Theme/issues/comments/71339381","html_url":"https://github.com/UCMercedACM/Website-Theme/issues/8#issuecomment-71339381","issue_url":"https://api.github.com/repos/UCMercedACM/Website-Theme/issues/8","id":71339381,"user":{"login":"Freaks32","id":5546456,"avatar_url":"https://avatars.githubusercontent.com/u/5546456?v=3","gravatar_id":"","url":"https://api.github.com/users/Freaks32","html_url":"https://github.com/Freaks32","followers_url":"https://api.github.com/users/Freaks32/followers","following_url":"https://api.github.com/users/Freaks32/following{/other_user}","gists_url":"https://api.github.com/users/Freaks32/gists{/gist_id}","starred_url":"https://api.github.com/users/Freaks32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Freaks32/subscriptions","organizations_url":"https://api.github.com/users/Freaks32/orgs","repos_url":"https://api.github.com/users/Freaks32/repos","events_url":"https://api.github.com/users/Freaks32/events{/privacy}","received_events_url":"https://api.github.com/users/Freaks32/received_events","type":"User","site_admin":false},"created_at":"2015-01-24T21:55:19Z","updated_at":"2015-01-24T21:55:19Z","body":"Seems that Facebook Graph API prevents reading group events unless the user authenticates it to do so. This causes us to either have users authenticate before viewing events... OR we could bypass this by hardcoding a user's access token.\r\n\r\nWe shouldn't be hardcoding any access tokens in Javascript for privacy reasons. But we may want to look into hardcoding an access token into a PHP script on the server which has access to reading ACM group events. This would, of course, have to remain separate from the github repo for privacy reasons but would allow us to retrieve ACM events via proxy."}}