Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315785 - A facebook "like" button on the Eclipse Helios or just vanilla downloads page
Summary: A facebook "like" button on the Eclipse Helios or just vanilla downloads page
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Website (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: phoenix.ui CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-04 11:19 EDT by Chris Aniszczyk CLA
Modified: 2011-05-27 12:03 EDT (History)
4 users (show)

See Also:


Attachments
Patch (2.04 KB, patch)
2011-05-18 09:59 EDT, Denis Roy CLA
no flags Details | Diff
Mockup of the Facebook like button on the homepage. (155.17 KB, image/png)
2011-05-18 10:47 EDT, Nathan Gervais CLA
no flags Details
Download Page location (121.22 KB, image/png)
2011-05-18 10:52 EDT, Nathan Gervais CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Aniszczyk CLA 2010-06-04 11:19:12 EDT
It would be nice to boost our facebook like membership by making a "Like" button appear somewhere on the downloads page.
Comment 1 Denis Roy CLA 2011-05-17 17:30:01 EDT
I thought about adding a Like function to the Phoenix API so that any project can add a Like button anywhere on any page if they'd want.  Would that make any sense?

http://developers.facebook.com/docs/reference/plugins/like/
Comment 2 Chris Aniszczyk CLA 2011-05-17 17:31:23 EDT
(In reply to comment #1)
> I thought about adding a Like function to the Phoenix API so that any project
> can add a Like button anywhere on any page if they'd want.  Would that make any
> sense?
> 
> http://developers.facebook.com/docs/reference/plugins/like/

+1
Comment 3 Denis Roy CLA 2011-05-18 09:59:48 EDT
Created attachment 195974 [details]
Patch

Here's a quick patch for app.php

Invoke with simply <?= $App->getFacebookLikeButtonHTML() ?> to get a Like button with faces.

... or <?= $App->getFacebookLikeButtonHTML("compact", false) ?> to get a smaller one without faces.
Comment 4 Wayne Beaton CLA 2011-05-18 10:05:10 EDT
I'd prefer to not have the word "Facebook" in our API. I wonder if there are any potential legal implications...

Is there some way that we can just automatically add this to every page? (e.g. somewhere in the header) Is that desireable?
Comment 5 Chris Aniszczyk CLA 2011-05-18 10:07:02 EDT
How about we just have something on our download and front page that likes Eclipse?

http://www.facebook.com/pages/Eclipse/259655700571

I'm not worried about the per-project case yet.
Comment 6 Denis Roy CLA 2011-05-18 10:11:00 EDT
(In reply to comment #4)
> I'd prefer to not have the word "Facebook" in our API. I wonder if there are
> any potential legal implications...

We have the word "Google" in there already.

I don't think adding it to every page would have any benefit.  Actually, calling facebook to load up the iframe would likely slow down the page load substantially.
Comment 7 Denis Roy CLA 2011-05-18 10:18:04 EDT
> How about we just have something on our download and front page that likes
> Eclipse?

On the downloads page, we can likely tuck it under Related Links.  That page is super busy.

On the home page, I'm not sure where we could put it.  Nathan would have to chime in here.
Comment 8 Wayne Beaton CLA 2011-05-18 10:19:11 EDT
Ah. I was reading Facebook-like, not Facebook "Like". I get it now.
Comment 9 Denis Roy CLA 2011-05-18 10:31:51 EDT
> Created attachment 195974 [details]

I've committed this patch.  You can see it in action on the Phoenix page:

http://eclipse.org/phoenix/

Let's wait for Nathan's guidance wrt. adding a fb button on the homepage and downloads.
Comment 10 Nathan Gervais CLA 2011-05-18 10:47:33 EDT
Created attachment 195979 [details]
Mockup of the Facebook like button on the homepage.

Potential location
Comment 11 Chris Aniszczyk CLA 2011-05-18 10:48:53 EDT
I like the location.
Comment 12 Nathan Gervais CLA 2011-05-18 10:51:01 EDT
Here's a mockup of the homepage. I've placed it just under the yellow download button.

We can have the button say 'Like' or 'Recommend', I think recommend works better in our context, but I'm not hung up on that by any means.  Maybe that's something we could add a param for?
Comment 13 Nathan Gervais CLA 2011-05-18 10:52:35 EDT
Created attachment 195981 [details]
Download Page location

Placed it in the bar here.
Comment 14 Nathan Gervais CLA 2011-05-18 10:53:19 EDT
Also ideally both the homepage like button and download page like button share the same counter.
Comment 15 Denis Roy CLA 2011-05-18 10:57:11 EDT
Like Chris said, we'd point the Like button the Eclipse Facebook page -- not to one specific Eclipse.org page.

Here's the HTML code we need to insert into those locations:

<iframe src='http://www.facebook.com/plugins/like.php?href=http://www.facebook.com/pages/Eclipse/259655700571&layout=button_count&show_faces=false&width=90&action=like' style='border: medium none; overflow: hidden; width: 90px; height: 22px;' frameborder='0' scrolling='no'></iframe>
Comment 16 Denis Roy CLA 2011-05-27 12:03:27 EDT
The Like button is there on the home page and on the downloads page, as Nathan has mocked up.  I'll send out an email to phoenix-dev shortly announcing the possibility of adding the Like button on project home pages.