
|
|||||||
|
Welcome to the DevBook Facebook Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
where do i put in my code for the profilebox?...now it puts in the "Default FBML" from the settings..
This is my code and settings: index.php Code:
<?php
/* include the PHP Facebook Client Library to help
with the API calls and make life easy */
require_once('client/facebook.php');
/* initialize the facebook API with your application API Key
and Secrete */
$facebook = new Facebook('7b5e626******49f0881e6724','a4abb336803*****8df76');
/* require the user to be logged into Facebook before
using the application. If they are not logged in they
will first be directed to a Facebook login page and then
back to the application's page. require_login() returns
the user's unique ID which we will store in fb_user */
$fb_user = $facebook->require_add();
/* now we will say:
Hello USER_NAME! Welcome to my first application! */
?>
Hei <fb:name uid='<?php echo $fb_user; ?>' useyou='false' possessive='true' />, velkommen til Drammen ny night!<br>
facebook2.jpg |
| Sponsored Links | ||
| ||
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| You need this thread: Ask any facebook question you may have! | Maestro | Facebook Application Development | 1 | 08-09-2007 05:55 PM |