Facebook has the feature to add events in fanpages. So you want to display all the upcoming events in your own website. The immediate answer is use facebook widget to display the events in facebook style. But if you want to display it in your website’s custom style. Here I come with a solution for that to fetch all the facebook page events using php and curl to your website’s custom page
You may have noticed in this example I did not use the access_token, a must have for facebook graph api call. But this is an alternative way when pulling the details that does not require any kind of authenication. You can pass this in the format of app_id|app_secret
- Just want to thank us? Buy us a Coffee
- May be another day? Shop on Amazon using our links.
Your prices won't change but we get a small commission.
Leave a Reply