Closed Bug 904601 Opened 11 years ago Closed 11 years ago

Add social sharing links to event detail pages

Categories

(Mozilla Reps Graveyard :: reps.mozilla.org, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: hoosteeno, Assigned: agibson)

References

Details

(Whiteboard: [kb=1076572] [q3 events])

Attachments

(1 file)

To make events easier to share, let's add sharing buttons to the event detail page (ex: https://reps.mozilla.org/e/basej-js-introduction-to-firefox-os/).

Let's use direct links to external networks, rather than embedded js/iframes:

    Facebook: https://www.facebook.com/sharer/sharer.php?u=REMO_URL

    Twitter: http://twitter.com/share?url=REMO_URL&via=mozillareps&text=PAGE_TITLE

    Google+: https://plus.google.com/share?url=REMO_URL&hl=en-US

A rough proposed UI is attached. Please suggest alternatives if this is not the right UI. Please modify as needed to satisfy implementation constraints.
Whiteboard: [kb=1076572]
For privacy reasons, should we be using Mozilla's SocialShare widget for this feature?

https://github.com/mozilla/socialshare
The socialshare widget prevents leaking personal details from Mozilla web properties without user consent. So do the links suggested above -- they're just URLs on the page.
Ah sorry, my eyes missed the part that mentioned using direct links the first time I read it :)
Depends on: 904608
Note about implementation: I didn't intend the attached mockup to be replicated in pixel perfection. The icons could be better, for example. I believe we can use any FOSS social icon set that we like. I think the ones on Flicks look pretty good; if there are no objections, I suggest we just use these: 

https://firefoxflicks.mozilla.org/static/img/social-icons.png

:agibson, is this enough to get started, or would you like a mockup that includes all of these elements?
Flags: needinfo?(agibson)
(In reply to Justin Crawford [:hoosteeno] from comment #4)
> Note about implementation: I didn't intend the attached mockup to be
> replicated in pixel perfection. The icons could be better, for example. I
> believe we can use any FOSS social icon set that we like. I think the ones
> on Flicks look pretty good; if there are no objections, I suggest we just
> use these: 
> 
> https://firefoxflicks.mozilla.org/static/img/social-icons.png

I also like these icons for Facebook and Twitter, though we also need a Google+ icon. I'm also happy using the logo icons mocked up in comment 0. I don't have a strong preference between the two styles.
(In reply to Justin Crawford [:hoosteeno] from comment #4)
> :agibson, is this enough to get started, or would you like a mockup that
> includes all of these elements?

Thanks Justin, 

This should be enough to get started. I'll see if I can source where these icons came from originally. If they're from an open source set, there may well already be a Google+ icon. If not, I'll look to make one that matches.
Flags: needinfo?(agibson)
Assignee: nobody → agibson
Whiteboard: [kb=1076572] → [kb=1076572] [q3 events]
Commits pushed to master at https://github.com/mozilla/remo

https://github.com/mozilla/remo/commit/34016d32e24b263f1d0d97a78acdc9ac17db2e80
[fix bug 904601] Add social sharing links to event detail pages

https://github.com/mozilla/remo/commit/e008d4e8d4a34c264c162b4edffdf701c42c6ed3
Merge pull request #456 from alexgibson/bug-904601-add-social-sharing-links-event-detail-pages

[fix bug 904601] Add social sharing links to event detail pages
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Verified on dev able to share events on Google+ & Twitter. Unable to share on Facebook, filed bug 907231
Depends on: 907231
Closing as 'Verified fixed' as per comment 9. Facebook to be verified in bug 907231.

Thanks Rebecca!
Status: RESOLVED → VERIFIED
Version: unspecified → 411
Product: Mozilla Reps → Mozilla Reps Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: