Login   Register  
PHP Classes
elePHPant
Icontem

File: Example

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Daniel Vasic  >  Facebook Page Album  >  Example  >  Download  
File: Example
Role: Example script
Content type: text/plain
Description: Simple example
Class: Facebook Page Album
Retrieve and display albums of Facebook fan pages
Author: By
Last change: Include file vas changed but not updated sorry for the inconvenience.
Date: 2011-02-25 01:21
Size: 844 bytes
 

Contents

Class file image Download
<html>
<head>
<title>Facebook Page Album</title>
<style type='text/css'>
    body
    {
        font-family:arial;
    }
    #wrapper
    {
        width:880px;
        margin:0 auto:
    }
    #back
    {
        display:block;
        padding:5px;
        float:left;
    }
    #backAlbums
    {
        display:block;
        padding:5px;
        float:right;
    }
    #next
    {
        float:right;
        display:block;
        padding:5px;
    }
    #prev
    {
        float:left;
        display:block;
        padding:5px;
    }
    .ImageLink
    {
        display:block;
        float:left;
        padding:5px;
        margin:5px;
    }
    .ImageLink img
    {
        width:150px;
    }
</style>
</head>

<body>
<div id ="wrapper">
<?php
    define
('PAGE_ID''7608631709');
    
define('APP_ID','');
    
define('APP_SECRET','');
    include(
"phpcUrl.php");
    
$face = new FacePageAlbum(PAGE_ID$_GET['aid'], $_GET['aurl'], APP_IDAPP_SECRET);
?>
</div>
</body>
</html>