• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.3 Facebook Recommend

Bob_R

Active member
#1
Is the Facebook recommend supposed to only show on your board that you recommended and post nothing to Facebook?

I recommended something on my board and it shows in the thread at the bottom that I recommended but nothing on Facebook itself.

Conversely, I twetted to twitter and it immediately showed the tweet on Facebook and Twitter.

Thanks.
 

Brogan

XenForo moderator
Staff member
#4
That's not anything we have control over, it's all handled by FB.

If it shows as you having Recommended then everything has worked at this end.
 
#5
Same here. It simply doesn't post to FB.
FB integration is all fine.
1.4 Beta 3.

On posting directly to FB and checking server logs here's what i get:

173.252.114.116 - - [23/Aug/2014:19:27:10 +0530] "GET /f28d7114205cfda&relation=parent.parent&color_scheme=light&font=trebuchet+ms&href=http: HTTP/1.1" 404 5638 "-" "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"
173.252.114.117 - - [23/Aug/2014:19:27:10 +0530] "GET /f28d7114205cfda&relation=parent.parent&color_scheme=light&font=trebuchet+ms&href=http HTTP/1.1" 404 5643 "-" "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"
173.252.114.113 - - [23/Aug/2014:19:27:10 +0530] "GET /logo.png HTTP/1.1" 206 9000 "http://forums.xxxxxx.in/f28d7114205cfda&relation=parent.parent&color_scheme=light&font=trebuchet ms&href=http:" "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"
173.252.114.118 - - [23/Aug/2014:19:27:10 +0530] "GET /logo.png HTTP/1.1" 206 9000 "http://forums.xxxxxx.in/f28d7114205cfda&relation=parent.parent&color_scheme=light&font=trebuchet ms&href=http" "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"
69.171.248.0 - - [23/Aug/2014:19:27:10 +0530] "GET /logo.png HTTP/1.1" 206 29336 "-" "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"
173.252.114.118 - - [23/Aug/2014:19:27:11 +0530] "GET /logo.png HTTP/1.1" 206 29336 "-" "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"
Not sure what those 404 and 206 are all about.
 
Last edited:

sforum

Active member
#7
I think there is some confusion over what this feature is supposed to do. It does not create a "normal" wall post, as if you had manually posted a link to something, and so will not appear on your wall/timeline for all to see, unfortunately. As per Brogan's screenshot, it simply adds a tiny post to the "Recent Activity" block at the very bottom of the left-hand info. pane of your profile page, where no-one will notice it.

It would be great if there was a "Share this to Facebook" option that would post this to your wall, like most news/other sites! :)
 
#8
It would be great if there was a "Share this to Facebook" option that would post this to your wall, like most news/other sites!
Thanks.
From the help document -- https://xenforo.com/help/facebook/
It says:

Recommend pages which will post a link on the wall of their Facebook account. This does not require the Facebook application.
It mentions -- "Link on the wall ..."
Currently all this is doing is posting in Activity list.
 

Kevin

Well-known member
#9
It would be great if there was a "Share this to Facebook" option that would post this to your wall, like most news/other sites! :)
That is pretty easy to do and is what I do on my own sites.

Random example (scroll down to where the social share buttons are): http://coolscifi.com/threads/what-old-tv-series-would-you-like-to-see-modernized.48199

In the template share_page find...
Code:
"></fb:like>
... and change it to:
Code:
" layout="standard" share="true"></fb:like>
In the template sidebar_share_page find...
Code:
"></fb:like>
... and change it to:
Code:
" share="true"></fb:like>
I actually have mine being done as a template modification so it makes it easier for me to implement on multiple sites and some other tweaks I have but a manual template edit will work fine.
 
#12
Hi, I've trying to make the like/recommend/share button with no luck at all, at first it showed on the site, but now it doesn't appear I look on the developer tools on chrome and it seems like it's calling the button, but for some reason it doesn't show.
What could be happening?
Thanks in advance
 

Attachments

Kevin

Well-known member
#15
I'll check tonight with the most recent version of XF but at least prior to 1.4.6 the above edits should be working fine. Be sure you didn't miss any quote marks.
 

Bob_R

Active member
#19
@Kevin Does this still hold true for XenForo 1.5?

That is pretty easy to do and is what I do on my own sites.

Random example (scroll down to where the social share buttons are): What Old TV Series Would You Like To See Modernized?

In the template share_page find...
Code:
"></fb:like>
... and change it to:
Code:
" layout="standard" share="true"></fb:like>
In the template sidebar_share_page find...
Code:
"></fb:like>
... and change it to:
Code:
" share="true"></fb:like>
I actually have mine being done as a template modification so it makes it easier for me to implement on multiple sites and some other tweaks I have but a manual template edit will work fine.
 

Kevin

Well-known member
#20
@Kevin Does this still hold true for XenForo 1.5?
I don't know for which XF version it changed but, no, with the current version of XF the FB button has been redone. But it is easier now to change the FB from "Like" to "Recommend".

Try ACP => Options => Facebook Integration and then change the "Facebook Like Button Phrase" option.

By switching it to Recommend then when users click the button it'll give a pop-up box where users can enter a comment before the link to your site is posted to their FB wall.