I have a client who is looking to have facebook events dynamically displayed through his website. When my company launches his re-design, he is looking to have his events page automatically sync with his facebook events so I do not need to manually edit anything for him. He has a simple 6 page HTML5/CSS3 website. He doesn't have a need for anything bigger, and doesn't make enough edits to necessitate any CMS.
I have seen various threads mentioning the use of PHP, but unfortunately, I am not that versed in backend coding nor is any of his site setup in PHP. I have strong front-end skills with HTML and CSS, and have used some jquery toys, but anything beyond that I havent touched yet. I cannot get the PHP working for the example I found. I downloaded both the facebook sdk package and the package from the example, but no dice.
Are there any Facebook developers out there who have done this, or have some solid advice? Or is anyone brave enough to help me through the PHP way (if there is no other alternative). Can I even include PHP on an HTML-only site? Maybe I am missing something super simple due to lack of experience.
If it helps, my client's Facebook page is set to public so I shouldn't need any special permissions/logins or access tokens (I think):
http://www.facebook.com/KenwoodOakLawn
The example i attempted to use:
http://www.codeofaninja.com/2011/07/display-facebook-events-to-your-website.html, but of course all other ideas/help are very much welcome (non-PHP preferred, but I won't ignore you if you tell me it's the only way ;-). Thank you in advance to anyone who may be able to lend a hand!
Please note that this script works with facebook pages only, not personal fb account.
Also do remember that php must be installed on what ever server is running the pages for it to work.
If php is working I would check the error log, look for error_log in your ini file to see where that might be, on my local version of php.ini it is set at log_errors =On error_log="C:\WINDOWS\temp
if you want the errors to display directly to the screen set display_errors = On