[eluser]Gewa[/eluser]
Hi, there is a service that needs to be integrated in my site to show links .
So here what they say I need to do.
define a global variable
Code:
define('LINKFEED_USER', '597a420cb42bbb3148b53cd2663609f1769b1891');
require_once($_SERVER['DOCUMENT_ROOT'].'/'.LINKFEED_USER.'/linkfeed.php');
global $linkfeed;
$linkfeed = new LinkfeedClient();
then use this code to show links
Code:
global $linkfeed;
echo $linkfeed->return_links(1);
What is the best way to make it?