Responsive Seo facebook Timeline php OOP class

Demo cfconsultancy (my own fb)

More info or buy here for only $14 ...


( Sometimes a facebook username look like this https://www.facebook.com/Garden-and-Flowers-Modeste-Herwig-182404618470820/ , in that case 182404618470820 is the username )

README! if the app id and token doesn't work

Since it looks you are an programmer (you bought a php class) you can also use an page acces token (only if you are admin of that facebook page)
Use my app to create a page token, you need to enter you're purchase code and then click on the GET FACEBOOK TOKEN en to add it to the class.




PHP settings for this demo

# New Timeline
$tl = new timeline (
'bbcarabic', // username or id
'', // facebook tokenId (leave Accestoken empty)
'', // facebook tokenSecret (leave Accestoken empty)
'' // accestoken and then leave tokenid and tokensecret empty
);
    	$tl->setMaxItems(20); //How many items (Don't use to many. preferred 30,40 or 50)
	$tl->setNewsType('posts'); //Feed or Posts
	$tl->setNewsFilter(true); //Filter only posts if it contains text (so no status updates)
	$tl->setShowImages(true); //Show images on posts
	$tl->setHrImages(true); //Higher resolution images ? Lazy loading will prevent slowing down your website
	$tl->setShowComments(true); //Show Comments
	$tl->setMaxComments(10); //Maximum comments to show (Don't use to many. preferred 10)
	$tl->setCacheLife(21600); //Cache life in seconds. Cache is disabled when set to "0".
	$tl->setCacheDirectory('./facebook/cache/'); //cache directory
	$tl->setBullets(false); //Show bullets and timeline stripe divider
	$tl->setDebug(false); //Set debug to true to see the json url. For testing only

    # Language
    $lang = new language();

        $lang->setTitle('NEWS');
	$lang->setShareOnTwitter('Share on Twitter');
        $lang->shareOnPinterest = ('Share on Pinterest');
	$lang->setshareOnFacebook('Share on Facebook');
        $lang->setComment('Comment or like !');
        $lang->setShowComments('Show comments');
        $lang->setBy('by');
        $lang->setDatePrefix(''); //can be used for example German language 'vor'
        $lang->setSecondsAgo(' seconds ago');
        $lang->setMinuteAgo(' minute ago');
        $lang->setMinutesAgo(' minutes ago');
        $lang->setHourAgo(' hour ago');
        $lang->setHoursAgo(' hours ago');
        $lang->setDayAgo(' day ago');
        $lang->setDaysAgo(' days ago');
        $lang->setWeekAgo(' week ago');
        $lang->setWeeksAgo(' weeks ago');
	$lang->setMonthAgo(' month ago');
	$lang->setMonthsAgo(' months ago');
	$lang->setYearAgo(' year ago');
	$lang->setYearsAgo(' years ago');

More info or buy here...