{"action":"created","issue":{"url":"https://api.github.com/repos/oscarotero/Embed/issues/147","repository_url":"https://api.github.com/repos/oscarotero/Embed","labels_url":"https://api.github.com/repos/oscarotero/Embed/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/oscarotero/Embed/issues/147/comments","events_url":"https://api.github.com/repos/oscarotero/Embed/issues/147/events","html_url":"https://github.com/oscarotero/Embed/issues/147","id":157209463,"number":147,"title":"Facebook oEmbed does not work for company pages","user":{"login":"Nebel54","id":2241938,"avatar_url":"https://avatars.githubusercontent.com/u/2241938?v=3","gravatar_id":"","url":"https://api.github.com/users/Nebel54","html_url":"https://github.com/Nebel54","followers_url":"https://api.github.com/users/Nebel54/followers","following_url":"https://api.github.com/users/Nebel54/following{/other_user}","gists_url":"https://api.github.com/users/Nebel54/gists{/gist_id}","starred_url":"https://api.github.com/users/Nebel54/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nebel54/subscriptions","organizations_url":"https://api.github.com/users/Nebel54/orgs","repos_url":"https://api.github.com/users/Nebel54/repos","events_url":"https://api.github.com/users/Nebel54/events{/privacy}","received_events_url":"https://api.github.com/users/Nebel54/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-27T13:42:25Z","updated_at":"2016-05-27T13:42:48Z","closed_at":null,"body":"I stumbled over a problem today, trying to embed this facebook post using the current master branch:\r\nhttps://www.facebook.com/TheIndependentOnline/posts/10153659888571636\r\n\r\nIf you look at the json+oembed link in the browser, the valid oembed url is returned: https://www.facebook.com/plugins/post/oembed.json/?url=https%3A%2F%2Fwww.facebook.com%2FTheIndependentOnline%2Fposts%2F10153659888571636\r\n\r\nBut if you try to fetch the same url as anonymous user (or via guzzle), facebook internally redirects you to https://www.facebook.com/TheIndependentOnline/ and the returned oEmbed-Link is wrong:\r\nhttps://www.facebook.com/plugins/page/oembed.json/?url=https%3A%2F%2Fwww.facebook.com%2FTheIndependentOnline%2F\r\n\r\nTo make things a bit more interesting, normal user posts are still embed-able.\r\n\r\nSo I'm not sure what the best approach to handle this problem is. I think either, facebook needs to stop this unpredictable behaviour (not sure if this will happen), or the facebook adapter needs to be re-implemented again."},"comment":{"url":"https://api.github.com/repos/oscarotero/Embed/issues/comments/222149587","html_url":"https://github.com/oscarotero/Embed/issues/147#issuecomment-222149587","issue_url":"https://api.github.com/repos/oscarotero/Embed/issues/147","id":222149587,"user":{"login":"Nebel54","id":2241938,"avatar_url":"https://avatars.githubusercontent.com/u/2241938?v=3","gravatar_id":"","url":"https://api.github.com/users/Nebel54","html_url":"https://github.com/Nebel54","followers_url":"https://api.github.com/users/Nebel54/followers","following_url":"https://api.github.com/users/Nebel54/following{/other_user}","gists_url":"https://api.github.com/users/Nebel54/gists{/gist_id}","starred_url":"https://api.github.com/users/Nebel54/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nebel54/subscriptions","organizations_url":"https://api.github.com/users/Nebel54/orgs","repos_url":"https://api.github.com/users/Nebel54/repos","events_url":"https://api.github.com/users/Nebel54/events{/privacy}","received_events_url":"https://api.github.com/users/Nebel54/received_events","type":"User","site_admin":false},"created_at":"2016-05-27T13:42:48Z","updated_at":"2016-05-27T13:42:48Z","body":"Related to #144 "}}
{"actor":{"display_login":"Nebel54"}}