Aqui les dejo los codigos php si sabe uno de javascript se los agradece
Aqui esta index.php
<?php
/* ================================================== ===========================
Example 1: This example covers the basics of uploading a photo to facebook.
It uses the same code covered in part B, "Usage", of the guide.
In order to run this example on your own system, be sure to update the
App id & secret id in the config.php and the $redirectURL variable, below,
to your own path.
PLEASE NOTE:
!!!! This example is basic and offers no feedback of the results. !!!!
It's purpose is to show the minimal code required
================================================== =========================== */
// *** Use these for development only
ini_set('display_errors',1);
error_reporting(E_ALL | E_STRICT);
// *** Include these files
require_once('config.php');
require_once('fb_wrapper_class.php');
/*
* You would normally use redirect URL from the config.php (REDIRECT_URL).
* But as I'm using various different example files, each needs there own
* redirect URL so I've defined each one in their own file.
*/
$redirectURL = "http://localhost/playground/fb-class-final/1_example_documentation_basics.php";
// *** Create object
$fbObj = new FaceBookWrapper(APP_ID, SECRET_ID, $redirectURL);
// *** Include a login button
echo '<a href="' . $fbObj->getLoginURL() . '">Login</a>';
// *** Add photo
$fbObj->addPhoto('http://blogs.20minutos.es/trasdos/files/2011/07/Simpsons_ofn.jpg', 'test image', 'Test album', 'Testing 1, 2, 3');
// *** Show any errors
echo $fbObj->getError();
?>
Aqui esta fb_wrapper_class.php no me dejo ponlo es muy largo
http://pastebin.com/aEVY3ZX6
****Gracias****