Howdy. I was tasked with making the game on Facebook, but I'm new to Facebook development, so I'm just getting started. Sorry in advance if this is not a problem for people.
I am having problems with all the examples that I see on sites, and I continue to work with missing pages in the Facebook documentation when I try to read. I think this is because there is a new version of the PHP Client Library for Facebook, and everything that I find belongs to the old client.
For example, I see this code in many examples:
require 'facebook.php';
$facebook = new Facebook( array( 'appId' => '(id)', 'secret' => '(secret)' ) );
$facebook_account = $facebook->require_login();
... but there is no "require_login ()" in the client library provided in the facebook.php file.
From what I can say, it looks like Facebook just recently rolled out a new development system, but I don't see any code sample to handle this. The new library comes with an example.php file, but apparently it’s only intended to add Facebook login features to other sites (which I assume is what they mean by Facebook Connect sites) instead of launching applications on the Canvas page on Facebook itself.
, , Facebook, , , "", , . , , , . , , .
- PHP? require_login() , - , , - ? GitHub, , , , , , "facebook.php"...?