Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $graph_url = "https://graph.facebook.com/v2.3/278952135548721/posts?fields=id&limit=1&access_token=CAAGZAwVFNCKgBAANhEYok6Xh7Q7UZBeTZCUqwPDLYhRZCmNn0igI8SE339jSn2zjxCpA1JUmXHm55XKVXslhdKKoTF3b5sLsiZBVd0ylYwX3MIGOnRyzn0T2XVywwoPKP7ML9WZCqELGRuIGxoM8ia05CiUiqcbgsb4wzTuBKkvKaqb7TPt2VnPtprRZBWda4kZD&until=1485414774&__paging_token=enc_AdDX5WR36dqSFFXX0PZCIK7qwF2yFZAm1EFT2jPMAhVTEMyn4DRzyPjT6y6MjPEMwQDIP0z4L2kMp9ITLQlJVbcZCPAH0MljgrMuEvGHNFtNSxlqQZDZD";
- $new = json_decode(file_get_contents($graph_url), true);
- $new = $new['data'];
- foreach($new as $new_post)
- {
- echo $new_post['id'];
- }
- ?>
Add Comment
Please, Sign In to add comment