Difference between #5 and #7 of
Simple Share Widget for Facebook, twitter and google+

Changes

Title unchanged

Simple Share Widget for Facebook, twitter and google+

Category unchanged

How-tos

Yii version unchanged

Tags changed

facebook, like, comments, twitter, tweet, google plusone, linkedin

Content changed

[...]
var js,fjs=d.getElementsByTagName(s)[0],
p=/^http:/.test(d.location)?'http':'https';
if(!d.getElementById(id)){
js=d.createElement(s);
js.id=id;
            js.async=true;
 
js.src=p+'://platform.twitter.com/widgets.js';
fjs.parentNode.insertBefore(js,fjs);
}
[...]
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
        js.async=true;
 
js.src = "//connect.facebook.net/ja_JP/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
[...]
And also you would like to give some tries to these extensions.

- [social share button](http://www.yiiframework.com/extension/social-share-button "social share button")
 
- [social](http://www.yiiframework.com/extension/social/ "social") - [wsocialbutton](http://www.yiiframework.com/extension/wsocialbutton/ "wsocialbutton") - [faceplugs](http://www.yiiframework.com/extension/faceplugs "faceplugs")
 
10 0
16 followers
Viewed: 32 422 times
Version: 1.1
Category: How-tos
Written by: softark
Last updated by: Rohit Suthar
Created on: Feb 26, 2012
Last updated: 9 years ago
Update Article

Revisions

View all history