Facebook SDK not working in wordpres template
I’m trying to implement the Facebook php sdk in a WordPress template, but I just can’t get it to work. The supplied example.php works without problems, but the same code in a template doesn’t. I boiled the problem down to the getSession() method, which simply always returns null.
Since example.php works i figure the problem is somehow related to WordPress. I really can’t think of any reason why it shouldn’t work in WordPress.
- The topic ‘Facebook SDK not working in wordpres template’ is closed to new replies.