HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 30th, 2011, 11:56 AM
Zobator Zobator is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2011
Posts: 51 Zobator User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 h 54 m 56 sec
Reputation Power: 3
Facebook share button, NOT like button

I have a little arcade website as a project together with my best friend and we would like to add the Facebook Share function to the game-pages so that if the visitor likes the game, they can share it on facebook.

The only thing I could find is the Like button, and that's not what I want, I want something exactly like Youtube has where you can share a video you like on your wall.

Any help on how to do this?
__________________
FreeGamesViking.com

Reply With Quote
  #2  
Old August 30th, 2011, 08:33 PM
E-Oreo's Avatar
E-Oreo E-Oreo is offline
Lost in code
Click here for more information.
 
Join Date: Dec 2004
Posts: 7,931 E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 90th Grade (Above 100000 Reputation Level)  Folding Points: 945 Folding Title: Novice Folder
Time spent in forums: 2 Months 7 h 43 m 47 sec
Reputation Power: 6991
I'm pretty sure that Facebook deprecated the Share button in favor of the Like button, and removed all of their developer documentation related to it. Dumb, because the Like button is not at all functionally equivalent to the Share button, but Facebook has never been developer friendly.

It's still possible to find the code for adding a Share button if you Google around for it. They do still work for the time being.

You might also want to check out something like ShareThis which takes care of most of the hassle of setting up those buttons.
__________________
PHP FAQ
How to program a basic, secure login system using PHP

Quote:
Originally Posted by Spad
Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around

Reply With Quote
  #3  
Old September 6th, 2011, 09:48 PM
dotfrag dotfrag is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2011
Location: Suburb of Minneapolis, MN
Posts: 5 dotfrag User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 2 m
Reputation Power: 0
Facebook
What I found would require you to find a "Share +" image and save it, then using that image, create a link that opens in a new page resized to a certain amount that passes along the parameters like this: facebook.com/sharer.php?u=http://google.com where google.com is the site/link you want people to share on their wall.


Example:

Code:
<a href="http://www.google.com" target="new"><img src="sharebutton.jpg"></a>


.... or something along those lines. That should at least get the job done in regards to what you want.

Reply With Quote
  #4  
Old September 6th, 2011, 10:05 PM
rave41799 rave41799 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 152 rave41799 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 9 h 2 m 24 sec
Reputation Power: 10
Send a message via AIM to rave41799 Send a message via Yahoo to rave41799
Yeah, the above should work... you don't even need an image if you want, you can just use text but I'm guessing you want that Share button easily visible. You can set the size of the new window too like some sites do, or just have it open a new window and let it do it's own thing.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Facebook share button, NOT like button

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap