4 Feb 2012

Cara Pasang Foto Profil Facebook Diblogger

·




Cara Pasang Photo Profil dibLoggg....

+Langkah-Langkahnya...
1.Log in ke Blogger... udah pasti... #masa ia ke  acebook ya...
2.Trus ke Rancangan...
3. Pilih Element Rancangan ...
4.Tambah Gadgettt....
5.PiLih HTML/JavaScript
6.TinggaL Copy Paste Script dibawah..... Beres...



<div id="poto"><center>
    <fb:profile-pic size='normal' uid='214527241966587'></fb:profile-pic>
  </center>
</div>

<div id="namapengguna">
<fb:name linked='false' uid='214527241966587' useyou='false'></fb:name>
</div>

<script type="text/javascript">
FB.init({appId: '263391753720465', status: true, cookie: true, xfbml: true});
FB.Event.subscribe('auth.sessionChange', function(response) {
  if (response.session) {
    document.getElementById('poto').innerHTML="<center>< fb:profile-pic uid='loggedinuser' size='normal'></fb:profile-pic></center>";  
    document.getElementById('namapengguna').innerHTML="<fb:name linked='false' uid='loggedinuser' useyou='false'></fb:name>";  
  } else {
    document.getElementById('poto').innerHTML="<center><fb:profile-pic size='normal' uid='214527241966587'></fb:profile-pic></center>";   
    document.getElementById('namapengguna').innerHTML="<fb:login-button></fb:login-button>"; 
  }
});
</script> 

Biarpun Kayak gini... TempeL aja.... Subcribe Feed.............. :D

1 add comment:

Posting Komentar

Comment