Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Some Nice Snippets from Facebook

Asked Modified Viewed 3,829 times
A
Ankur
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
  • Started this discussions
asked
Veteran Member

Hello Guyz,

I was just informed by one of my Friend L0nelyCowBoy about the updated interface of the Facebook Plugins. So I just tried some of them and want to share it with you :

I have just tested three plugins and want response if it also good for you.

Just Add it as a Lower or Upper Center Panel and try :

[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]openside("Facebook Recent Activity"wink;

$link = urlencode($settings['siteurl']);
$curlink = 'http://';
$curlink .= $_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
$curlink = urlencode($curlink);

echo "<center>";

// This Code is for Like. Remove if not wanted.
echo "<iframe src='http://www.facebook.com/plugins/like.php?href=".$curlink."&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font=tahoma&amp;colorscheme=light&amp;height=80' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:450px; height:80px;' allowTransparency='true'></iframe><br />";

// This Code is for Activity. Remove if not wanted.
echo "<iframe src='http://www.facebook.com/plugins/activity.php?site=".$link."&amp;width=300&amp;height=300&amp;header=true&amp;colorscheme=dark&amp;font=tahoma&amp;recommendations=true' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:300px; height:300px;' allowTransparency='true'></iframe>";

// This Code is for Recommendations. Remove if not wanted.
echo "<iframe src='http://www.facebook.com/plugins/recommendations.php?site=".$link."&amp;width=300&amp;height=300&amp;header=true&amp;colorscheme=light&amp;font=tahoma' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:300px; height:300px;' allowTransparency='true'></iframe>";

echo "</center>";

closeside();[/syntaxhighlighter]

Please refer to the page at http://developers.facebook.com/docs/r.../activity/. You can check for some Good options and help there !

Temp. Screenshot :
i55.tinypic.com/mrsio7.png
0 replies

2 posts

C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Hey Ankur,

Very nice man. Works good at my end.
0 replies
— 9 months later —
B
BlackDragon
B
http://www.bolja-buducnost.com.ba My best PHP-Fusion design.
  • Member, joined since
  • Contributed 88 posts on the community forums.
  • Started 14 threads in the forums
answered
Member

Nice,
Thanks man :) .
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 2 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
A
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
  • Started this discussions
B
B
http://www.bolja-buducnost.com.ba My best PHP-Fusion design.
  • Member, joined since
  • Contributed 88 posts on the community forums.
  • Started 14 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet