Description

welcome to vinay sabharwal blog - www.etechfuture.blogspot.in - This blog is dedicated to talk about techs and gadgets in the future, some of them might still even a concept. Because I think it’s gonna be fun and full of surprise to see what the future might bring to us. And someday we can take a look again at this blog archives and see if it’s come true

.

partners

partners click here for more

.

add

mobile ads

"; $GLOBALS['admaya_in']['pid']='12550'; $GLOBALS['admaya_in']['id']='66905'; $GLOBALS['admaya_in']['search']=urlencode($searchKeywords); $GLOBALS['admaya_in']['ip']=read_global('REMOTE_ADDR'); $GLOBALS['admaya_in']['ref']=read_global('HTTP_REFERER'); $GLOBALS['admaya_in']['url']=read_global('HTTP_HOST') . read_global('REQUEST_URI'); $GLOBALS['admaya_in']['useragent']=read_global('HTTP_USER_AGENT'); admaya_in_set_screen_res(); admaya_in_set_via_and_accept(); function read_global($var) { return isset($_SERVER[$var]) ? $_SERVER[$var]: ''; } function admaya_in_append_url(&$url, $param, $value) { $url .= $param . '=' . urlencode($value).'&'; } function admaya_in_append_globals(&$url, $param) { admaya_in_append_url($url, $param, $GLOBALS['admaya_in'][$param]); } function admaya_in_set_screen_res() { $screen_res = read_global('HTTP_UA_PIXELS'); if ($screen_res == '') { $screen_res = read_global('HTTP_X_UP_DEVCAP_SCREENPIXELS'); } if ($screen_res == '') { $screen_res = read_global('HTTP_X_JPHONE_DISPLAY'); } $res_array = split('[x,*]', $screen_res); if (sizeof($res_array) == 2) { $GLOBALS['admaya_in']['u_w'] = $res_array[0]; $GLOBALS['admaya_in']['u_h'] = $res_array[1]; } } function admaya_in_set_muid() { $muid = read_global('HTTP_X_DCMGUID'); if ($muid != '') { $GLOBALS['admaya_in']['muid'] = $muid; } $muid = read_global('HTTP_X_UP_SUBNO'); if ($muid != '') { $GLOBALS['admaya_in']['muid'] = $muid; } $muid = read_global('HTTP_X_JPHONE_UID'); if ($muid != '') { $GLOBALS['admaya_in']['muid'] = $muid; } $muid = read_global('HTTP_X_EM_UID'); if ($muid != '') { $GLOBALS['admaya_in']['muid'] = $muid; } } function admaya_in_set_via_and_accept() { $ua = read_global('HTTP_USER_AGENT'); if ($ua == '') { $GLOBALS['admaya_in']['via'] = read_global('HTTP_VIA'); $GLOBALS['admaya_in']['accept'] = read_global('HTTP_ACCEPT'); } } function admaya_in_get_ad_url() { $admaya_in_ad_url = "http://www.admaya.in/wap-ads.php?" ; foreach ($GLOBALS['admaya_in'] as $param => $value) { if (strpos($param, 'url') === 0) { $admaya_in_scheme = (read_global('HTTPS') == 'on') ? 'https://' : 'http://'; admaya_in_append_url($admaya_in_ad_url, $param, $admaya_in_scheme . $GLOBALS['admaya_in'][$param]); } else { admaya_in_append_globals($admaya_in_ad_url, $param); } } $admaya_in_ad_url=substr($admaya_in_ad_url,0,-1); return $admaya_in_ad_url; } $admaya_in_ad_handle = @fopen(admaya_in_get_ad_url(), 'r'); if ($admaya_in_ad_handle) { while (!feof($admaya_in_ad_handle)) { echo fread($admaya_in_ad_handle, 8192); } fclose($admaya_in_ad_handle); } ?>

5

Saturday, 1 December 2012

How to Add Facebook Like to Blogger: 11 steps (with pictures)

WELCOME TO VINAY SABHARWAL BLOG FOR MORE INFORMATION JOIN THIS SITE

Steps

  1. 1
    Go to the "Facebook Developers" page:http://developers.facebook.com/docs/reference/plugins/like.

  2. 2
    Set the options you want.
     Set the options you want.
    Set the options you want. Specifically, select whether you want a "Like" or a "Recommend" button. The sample button on the page will automatically update to reflect your selections.
  3. 3
    Leave the "URL to Like" field blank.
     Leave the "URL to Like" field blank.
    Leave the "URL to Like" field blank. You will be replacing that soon.
  4. 4
    Click "Get Code".
     Click "Get Code".
    Click "Get Code". You will see something that looks like this:


    <iframe src="http://www.facebook.com/plugins/like.php?href=
    

    http%253A%252F%252Fexample.com%252Fpage%252Fto%252Flike&layout=standard&
    

    show_faces=false&width=450&action=like&colorscheme=light"
    

    scrolling="no" frameborder="0" allowTransparency="true" style="border:none;
    

    overflow:hidden; width:450px; height:px"></iframe>
    
  5. 5
    Replace the following text:
    • src= above with:
      expr:src='
      
    • http%253A%252F%252Fexample.com%252Fpage%252Fto%252Flike&layout part with:
      " + data:post.url + "&layout
      
    • light" with:
      light"'
      
      -- notice the new trailing apostrophe
    • height:px with:
      height:35px
      
      -- otherwise, Firefox will make the iframe really big.
    • Leave a copy of the final code somewhere accessible for you to transfer to Blogger.
  6. 6
    Go to your Blogger Dashboard.
     Go to your Blogger Dashboard.
    Go to your Blogger Dashboard.
  7. 7
    Open your blog's layout and click Edit HTML.


  8. 8
    Back up your template! Do this by clicking Download Full Template.


  9. 9
    Check Expand Widget Templates.


  10. 10
    Find a place to put the Facebook "Like" code into your HTML layout. A good location is directly after or below:
    <div class='post-footer'>
    
    • Use the browser "Find" mechanism to help you locate it.
  11. 11
    Save and check that the button has appeared. Once you can see it, you're done!



EditTips

  • As of May 16, 2010 this feature is only available in the English language.

  • Always back up your blog's template before making changes to its layout!
  • It is recommended that you keep "Show Faces" unchecked and use the "button_count" layout. Otherwise, less-savvy users who did not configure their privacy settings properly may be turned off by their profiles appearing on your blog after "Liking" it.

EditThings You'll Need

  • Blogger account
  • Facebook account

No comments:

Post a Comment

publishers jobs