Hello friends, I want to develop a simple facebook application for my educational site which will contain only feed from my site. I want to use SimplePie for it and i am able to run it at http://bit.ly/4kSJW4 But now i don't know how to use it in facebook application, below is the structure of it: <?php require_once 'includes/facebook.php'; $appapikey = 'b20115866dd77de8a24fcnbs9sh3dsjh'; $appsecret = '2c28b231d93b96a9365f7f8f9heu4h8d'; $facebook = new Facebook($appapikey, $appsecret); $user_id = $facebook->require_login(); echo "<p>CBSE News</p>"; echo "php code to retrieve feed here"; Code (markup): And here is a php code for SimplePie feed : <?php require_once('/feed/simplepie.inc'); $feed = new SimplePie('http://www.site.com/feed'); $feed->handle_content_type(); $feed->set_cache_location($_SERVER['DOCUMENT_ROOT'] . '/home/user/public_html/facebook/feed/cache/'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> </head> <body> <ul><?php foreach ($feed->get_items() as $item): ?> <div class="item"> <li><a href="<?php echo $item->get_permalink(); ?>"><?php echo $item->get_title(); ?></a></li> </div> <?php endforeach; ?> </ul> </body> </html> Code (markup): Just tell me what to add in facebook app to retrieve feed from simplepie. Thanks
Till no one has replied to my question I am increasing the money from $5 to $6 Please help its urgent
Is the app allready set up, do you just require help intergrating the feed code? If so give me a shout with more details and ill help set it up for you dont need paying