xoops forums

shopyork

Just popping in
Posted on: 2010/3/22 23:54
shopyork
shopyork (Show more)
Just popping in
Posts: 3
Since: 2010/3/22
#1

link to facebook

how can I link my comments on my site to facebook

sailjapan

Moderator
Posted on: 2010/3/23 2:31
sailjapan
sailjapan (Show more)
Moderator
Posts: 1672
Since: 2005/11/16
#2

Re: link to facebook

This post might be of help.

Search is your friend!

shopyork

Just popping in
Posted on: 2010/3/23 10:54
shopyork
shopyork (Show more)
Just popping in
Posts: 3
Since: 2010/3/22
#3

Re: link to facebook

Thanks I found that through search, but I want to be able to add to facebook without the twitter. About a month ago (before my sites got hacked) when you posted comments there was a link to add to your facebook page, now I cqan't figure out where it came from and jow to get it back (now that I rebuilt sites) First thing I did was search on xoops.org but could not find a solution yet.

deka87

Friend of XOOPS
Posted on: 2010/3/23 11:08
deka87
deka87 (Show more)
Friend of XOOPS
Posts: 1124
Since: 2007/10/5
#4

Re: link to facebook

like what do you mean? do you want to automatically send your comments to your facebook wall, or you want users to be able to share a link to a definite comment on your website like with the "share it" button?

shopyork

Just popping in
Posted on: 2010/3/23 21:31
shopyork
shopyork (Show more)
Just popping in
Posts: 3
Since: 2010/3/22
#5

Re: link to facebook

share it button that's what I'm looking for

Mazar

Not too shy to talk
Posted on: 2010/3/23 22:21
Mazar
Mazar (Show more)
Not too shy to talk
Posts: 191
Since: 2009/1/4 0
#6

Re: link to facebook

are you looking for this share button
<a name="fb_share" type="button_count" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>

shopatyork

Just popping in
Posted on: 2010/3/24 0:56
shopatyork
shopatyork (Show more)
Just popping in
Posts: 2
Since: 2010/3/24
#7

Re: link to facebook

where do I put this code

Mazar

Not too shy to talk
Posted on: 2010/3/24 10:09
Mazar
Mazar (Show more)
Not too shy to talk
Posts: 191
Since: 2009/1/4 0
#8

Re: link to facebook

In the templates for what module you need this? do you need it for news or something else?

Mazar

Not too shy to talk
Posted on: 2010/3/24 10:11
Mazar
Mazar (Show more)
Not too shy to talk
Posts: 191
Since: 2009/1/4 0
#9

Re: link to facebook

Sorry I am confused you want the comment code that whoever submit comment on your site it must post on facebook or you want to share article?

Mazar

Not too shy to talk
Posted on: 2010/3/24 10:14
Mazar
Mazar (Show more)
Not too shy to talk
Posts: 191
Since: 2009/1/4 0
#10

Re: link to facebook

To add the Comments Box to your site, follow these simple instructions:

1. Set up a basic Connect application. Take note of the API key and specify a callback URL to your website.
2. Download this cross-domain receiver file, and upload it to your website.
3. Add these snippets of code to each file where you want a Comments Box.
* Within the <html> tag, add: xmlns:fb="http://www.facebook.com/2008/fbml"
* Add the following code wherever you want a Comments Box to appear in your page. Replace '''YOUR_API_KEY_HERE''' with your API key, and include the path to the cross-domain receiver.
<script src=
"http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" 
type="text/javascript"></script>

<
fb:comments></fb:comments>

<
script type="text/javascript">
FB.init("YOUR_API_KEY_HERE""<path from web root>/xd_receiver.htm");
</
script>


That's it, your Comments Box is ready!