Including facebook.php in a wordpress page template? (1 post)

  1. wprocks
    Posted 4 years ago #

    I was wondering if I can include Facebook's php sdk file into a wordpress page template ?

    For example in page.php:
    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    Can i attempt to include facebook.php like this:


    I've tried doing the above, but the echo "pass"; was not executed, this means that the require_once TEMPLATEPATH.'/include/facebook.php'; line has failed.

    Can anyone advise me on how to achieve this ?


Topic Closed

This topic has been closed to new replies.

About this Topic