PDA

View Full Version : Add facebook and twitter share to google plus lock content



rob888
11-06-2011, 02:25 PM
I have found a script for content locking website content and the possibility to unlock it after google plus click.

the code works great but i was just wondering how could i add facebook and twitter share

here's the code:


<link href='http://www.seomarketingforums.com/google-traffic-pop.css' rel='stylesheet' type='text/css'/>
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js'></script>
<script src='https://apis.google.com/js/plusone.js' type='text/javascript'></script>
<script src='http://www.seomarketingforums.com/gtp.min.js' type='text/javascript'></script>
<script language='javascript'>

jQuery(document).ready(function() {

jQuery().googleTrafficPop({
'timeout': 30,
'title': "Title",
'message': "Enter your message here",
'url': "http://yoursite.net",
'wait': 0,
'opacity': 45,
'advancedClose':false,
'closeable': false
});

});

</script>
<script src='http://apis.google.com/js/plusone.js' type='text/javascript'></script>
<link type='text/css' rel='stylesheet' href='http://www.blogger.com/static/v1/widgets/334858902-widget_css_2_lightbox_bundle.css' />

i am a novice with javascripts and besides customizing the codes everything else is pretty much over my head.

i'd really appreciate some help

thanks

hawaiiwebdesign
11-06-2011, 09:37 PM
You need to take a look at the corresponding event handlers.

in FB it is Edge.Create. Don't recall what it is off-hand for Twitter

ForbAware
11-03-2017, 08:57 AM
This seems to be a related thread about Twitter. I have a question may I ask here. Recently I want to download a Twitter video and after i searched on google i found this tutorial as you can see http://www.videoconverterfactory.com/tips/how-to-download-a-twitter-video.html. After the downloading process it asks me to preset bit rate and resolution. I do not know what values should I set? Is it correct that the higher I set the better output it will be?