Monday, April 29, 2013

How to create facebook apps in your account?

Q. Hi, is it possible to create facebook apps in my account? Well, I mean like here http://www.facebook.com/Selena After wall and info there's the band page, flipbook etc. How to make these apps? Or is it possible only in pages?

A. I'm not sure how to create that facebook apps, but I know some tool to publish your created flipbook on Facebook with embedding into your account, just use a program and a facebook Tradable Bits plug-in tool.

More details you can view in the below link page:

How do i catch my created facebook page?
Q. I have created facebook page. But i cant find where it is

A. You can sign in to Facebook and it should send you to your Facebook page. Cache it then.

How to create facebook or twitter like x-time ago date/time format in PHP?
Q. How to create facebook or twitter like x-time ago date/time format in PHP? Is there any built in function are available? Any help would be appreciated.

A. Its possible with a custom made PHP function. Please find the source to get more idea about this.


function ShowDate($date) // $date --> time(); value
{
$stf = 0;
$cur_time = time();
$diff = $cur_time - $date;
$phrase = array('second','minute','hour','day','week','month','year','decade');
$length = array(1,60,3600,86400,604800,2630880,31570560,315705600);
for($i =sizeof($length)-1; ($i >=0)&&(($no = $diff/$length[$i])<=1); $i--); if($i < 0) $i=0; $_time = $cur_time -($diff%$length[$i]);
$no = floor($no); if($no <> 1) $phrase[$i] .='s'; $value=sprintf("%d %s ",$no,$phrase[$i]);
if(($stf == 1)&&($i >= 1)&&(($cur_tm-$_time) > 0)) $value .= time_ago($_time);
return $value.' ago ,';
}


This function can display time or date as 1 days ago, 2 days ago, etc..




Powered by Yahoo! Answers

No comments:

Post a Comment