Home
Login Button
Custom Login Button
Permissions
Request Dialog
Invite Friends
Stream Publish
Like Button
Send Button
Like Box
Comment Box
Bookmark Button
Recommendations
Data Access
Logout Button

Facebook Recommendations

Recommendations control is used to show a list of interesting content for particular domain. The list is created depending on user personal preferences and shared content by other people. The example shows PHP code for creating the control with default setting: width 300 pixels, height 300 pixels, show header and light color scheme. Recommendations are set for faceconn.com domain.

For all details about the control, with descriptions of all optional properties, please visit Facebook Recommendations Tutorial.


Facebook session is not established. Please login by pressing login button:



// create new instance of the control
$recomendations = new Recommendations();

// set domain
$recomendations->SetDomain("faceconn.com");

// render the control on the page
$recomendations->Render();