Topic-icon Like buton

Active Subscriptions:

None
13 years 2 months ago #32383 by Mikeheavy
Like buton was created by Mikeheavy
Im still confused as the best way to integrate face book on my web site.
I would like to have a like button on each page of my web site so that when 'liked'
that page is shown in the news feed etc.
The most important place for this to happen is in the photo gallery- which is turtle.
Can i include a jfbconnect like button into these pages as they are not simple individual articles?
also, can i link this to my face book page somehow??
thankyou
The topic has been locked.
Support Specialist
13 years 2 months ago #32387 by alzander
Replied by alzander on topic Like buton
Mike,
Sure, you can use the JFBCLike module to add the Like button to any page of your site. If you leave the URL parameter blank in the module, then the Like button will be for whatever page the button is displayed on, so it will work on a lot of pages.

For more flexibility, you can add the {JFBCLike} tag to your gallery's template file, which will allow you to place the button exactly where you want on just the pages you want.

Hope that helps, but if you need anything else, just let us know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 2 months ago #32390 by Mikeheavy
Replied by Mikeheavy on topic Like buton
ok cool.
This seems better to me, than using the jfbc fan module.
Because If users like the jfbc fan like button on the web site, they are actually liking the facebook page, correct?
and with the standard jfbc like button, they are liking the web site, which will show up on users news feed, correct? and this, i feel is more valuable for me.
however, can users actually like a specific image on my web site, within the gallery, which will then show as the Fb feed? At the moment, the news feed is for the entire gallery as opposed to the specific image.
I am working with the gallery (turtle) to get individual url's for each image, so im assuming this could be possible...?

Is this standard jfbc 'like' button, unconnected to my fb page, so i get no insight on this aye?
The topic has been locked.
Support Specialist
13 years 2 months ago #32397 by alzander
Replied by alzander on topic Like buton
The Fan module is just for your Fan Page on Facebook. You're correct that you'll want to use the Like button for specific pages on your site.

When any Like button is clicked (for your Fan Page or for pages on your site), it will be entered into their Facebook Activity Log. From there, Facebook chooses how to show it in the Ticker, News Feed, or that user's Timeline based on different social factors. So, it's not guaranteed to show up in any of those, but the more clicks you get, the better the chances of your page(s) being seen.

As for a specific image, no, users can Like a specific image. What they can do is Like a specific page from your Gallery and then, you can set the Open Graph image tag for that page to be the image. Then, when a news feed is created for it, the link will go to that page, and the thumbnail image will be the gallery image. Facebook doesn't really like linking directly to an image only for various reasons.

To set the og:image tag, you can simply add the following tag in the gallery template:
{SCOpenGraph image=http://yoursite.com/link-to-image.jpg}
You may need to add some PHP to that to dynamically set the image, but hope that gives you the idea and gets you started. Obviously, let us know if you have any questions.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 1 month ago #32515 by Mikeheavy
Replied by Mikeheavy on topic Like buton
Hi again. im a little confused with this statement: As for a specific image, no, users can Like a specific image. What they can do is Like a specific page from your Gallery and then, you can set the Open Graph image tag for that page to be the image. Then, when a news feed is created for it, the link will go to that page, and the thumbnail image will be the gallery image.

Does this mean, you can only chose 1 image to show, when someone likes a page, in your gallery?

I have managed to 'make slides' within my gallery, thinking that this would make each page unique, in that you can refer to it, via a 'like button' or a url link. but it seems the url stays the same and only the html changes, which... i dont really know what that means.
shit
...help?
The topic has been locked.
Support Specialist
13 years 1 month ago #32521 by alzander
Replied by alzander on topic Like buton
Sorry, there was one typo in that sentence:
As for a specific image, no, users can not Like a specific image. What they can do is Like a specific page from your Gallery and then, you can set the Open Graph image tag for that page to be the image. Then, when a news feed is created for it, the link will go to that page, and the thumbnail image will be the gallery image.

What I meant by that, is that you can't have a Like button go directly to an image, like a jpg file. You can have the Like button be for a page on your site which contains one image of a gallery. For something like a Gallery, you can have a Like button for the entire gallery, but when the Like button is clicked, it will only be for one image (mainly, the 'home page' or featured image of the gallery). You can still have Like buttons on each page of the Gallery for each individual image, as long as those images each have their own unique URL on your site.

If you're using an AJAX slider, then a lot of the time the URL won't change. The contents of the current page are simply being updated through Javascript. When Facebook scans your pages, it does not execute Javascript, which is why it needs a unique URL per image page from your gallery. Otherwise, it will only ever see the home/landing page of your gallery.

I hope that helps explain some more. I don't know your gallery extension, but it may be a question to pose to them: "Is there a way to link directly to an image within a gallery?"

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 1 month ago #32573 by Mikeheavy
Replied by Mikeheavy on topic Like buton
Hey alex.
Im just using the simple Like button module in the gallery atm.
And ive liked it personally, and clicked "post to facebook"
however nothing showed up in my news feed.
So I un-liked it and posted a comment, then it showed up.
Do I need to gain likes and face book props before I get a simple 'like' to show up in news feed?
The topic has been locked.
Support Specialist
13 years 1 month ago #32577 by alzander
Replied by alzander on topic Like buton
Facebook uses tons of parameters to decide what's posted to your news feed and what goes out to other social areas (Ticker, friends news feed, etc). When someone leaves a comment, for instance, that's a great sign to Facebook that they want that Like to show up in their news feed since they commented.

Without a comment, it's less likely to show up in your own news feed, though still possible. For instance, if a lot of people Like the page, or friends of that user have also Like'd that page, it's much more likely to show up in similar channels between those users.

Hope that makes sense. There was a time when anything people did always showed up in their Feed. That's not been the case for a few years as Facebook has taken a much more direct role in picking and choosing what appears based on the social factors (briefly) mentioned above.

So, not much for you to do other than grow your site organically and that will have a positive feedback on how your site is socially promoted (both through more Like's and more prominent displaying of those Like's).

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 1 month ago #32733 by Mikeheavy
Replied by Mikeheavy on topic Like buton
Hiiigh.
I haven't managed to work out how to control what image is posted in the news feed.
Is it via 'open graph'?
or configuration......
Im using the standard jfbclike button :)
thanks
The topic has been locked.
Support Specialist
13 years 1 month ago #32741 by alzander
Replied by alzander on topic Like buton
The Open Graph tags are what you use to tell Facebook the image to be used on the page. If you're using a standard Joomla article, K2 article, or one of the other components we integrate with, you should just need to install and publish the Open Graph plugin (from the main zip file you downloaded from here) for that extension.

Once enabled, those plugins will automatically insert what it thinks is the best image for the page.

Alternatively, on any page, you can add the following tag, which JFBConnect will use to create the right Open Graph tag:
{SCOpenGraph image=http://yoursite.com/link-to-your-image-for-page.jpg}

Finally, in the Open Graph -> Configuration area of JFBConnect, you can set a default image to use on all of your pages. That's great for a logo or something to be used when no other image has been set. To do so, in the 'defaults' box, simply add:
image=http://yoursite.com/link-to-logo.jpg

Hope that all helps,
Alex
The topic has been locked.