skip to Main Content

Facebook Graph API- Page post fetch in website

I used following code to access facebook page posts. $accessToken = 'EAAlGssgdgQIBAHuD9ZBZB6RWZClM3bmm8Vjv2nZBNmotTTnubgzdK4aiHbqJwhRlELjAurPEHKSqxJS7c0Pyd5ZBuqZAo2keabbkubx0AZCl3m6brDGlkXNgMq9dtNUZAx4P6QwdsXwNvJaEi2j3YDsHpZABiRxRK6qMAmZAyynLvJNCJ41ZBn9se28QUsDHG72mhZCzHFLpLQUxZCAZDZD'; $id = '109395947376896'; $url = "https://graph.facebook.com/$id/posts?access_token=$accessToken"; $result = file_get_contents($url); $decoded = json_decode($result, true); var_dump($decoded); and get the following result. screenshot is attached how do I get images of…

VIEW QUESTION
Back To Top
Search