7 replies [Last post]
Verschwindende
Verschwindende's picture
User offline. Last seen 14 weeks 6 days ago. Offline
rank Guru
Guru
Timezone: GMT-5
Joined: 2009-10-09
Posts: 2037
Points: 2256

Has anyone used any of the Facebook social plugins on their sites? What is considered best practice when using them ("not using them" will be accepted as a valid answer).

My concerns are with accessibility and churning out valid code.

yet again.

Smee
Smee's picture
User offline. Last seen 1 week 2 days ago. Offline
rank Elder
Elder
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1594
Points: 337

.

*bump*

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

Tyssen
Tyssen's picture
User offline. Last seen 2 weeks 3 days ago. Offline
rank Moderator
Moderator
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8139
Points: 1321

Dunno about Facebook

But when I was looking at Google+ buttons recently which use their own tags, I found they also supported real elements with data- attributes, so it's possible something similar exists for Facebook.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

vikramrandhawa
vikramrandhawa's picture
User offline. Last seen 32 weeks 2 days ago. Offline
newbie
Timezone: GMT+5.5
Joined: 2011-09-28
Posts: 6
Points: 6

When you Want to add plugins

When you Want to add plugins of the Facebook...Then you can go to Developer link in the facebook..
After That there code available in you Facebook for various Button and Likes..
Just paste that code into your Web pages.

Verschwindende
Verschwindende's picture
User offline. Last seen 14 weeks 6 days ago. Offline
rank Guru
Guru
Timezone: GMT-5
Joined: 2009-10-09
Posts: 2037
Points: 2256

vikramrandhawa wrote: When

vikramrandhawa wrote:

When you Want to add plugins of the Facebook...Then you can go to Developer link in the facebook..
After That there code available in you Facebook for various Button and Likes..
Just paste that code into your Web pages.

The code is obviously not valid.

yet again.

mihirc
mihirc's picture
User offline. Last seen 21 weeks 2 days ago. Offline
rank Leader
Leader
Timezone: GMT+5.5
Joined: 2007-05-09
Posts: 587
Points: 28

Verschwindende wrote: Has

Verschwindende wrote:

Has anyone used any of the Facebook social plugins on their sites? What is considered best practice when using them ("not using them" will be accepted as a valid answer).

My concerns are with accessibility and churning out valid code.

Hello,
I have integrated facebook on a couple of sites and i have managed to run the integration fine. But as a pointer, i try to includes all the facebook code into files that are separate from my website code. So that is one pointer that you have to use.

Regards,
Mihir.

andyou111
andyou111's picture
User offline. Last seen 20 weeks 5 days ago. Offline
newbie
Timezone: GMT+7
Joined: 2011-11-12
Posts: 2
Points: 2

I found they also supported

I found google+ also supported real elements with data attributes,i think you should used google+

Hugo
Hugo's picture
User offline. Last seen 11 hours 37 min ago. Offline
rank Moderator
Moderator
Timezone: GMT+1
Joined: 2004-06-06
Posts: 15193
Points: 2296

Social Media buttons & valid

Social Media buttons & valid accessible code == 'Oxymoron'

Implemented various social media buttons or added to the existing with a plugin project, google+ is causing all sorts of issues in looped displays despite following api instructions - Farcebook? appears to work and I leave that to the other devs to test and verify as I have no account no wish for one.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me