jadilah yang pertama berimajinasi


Simple Connect Facebook Di Blog




kemarin sempet posting  PAsang Connect Facebook Kedalam Blog  tapi kali ini scripsinya saya ringkas dengan sedemikian rupa xD
soo... simak langkah berikut:

letakan kode dibawah ini di atas ]]></b:skin>

/* GUE-CONNECT FACEBOOK
----------------------------------------------- */
.blok-element{position:fixed; z-index:999; width:100%; height:100%; top:0px; left:0px; cursor:pointer; background:url(http://2.bp.blogspot.com/-Y5myA2tI2SE/UDh1vslqArI/AAAAAAAACUs/zGHW8gYS3Tc/s1600/connect+to+facebook+gue-galau+warna+putih.png);}


merah ganti dengan URL gambar sobat
jika ingin menggunakan gambar tetap tambahkan kode: no-repeat fixed top center sesudah URL sobat
gunanya biar gambarnya tidak dobel
contoh:


/* GUE-CONNECT FACEBOOK
----------------------------------------------- */
.blok-element{position:fixed; z-index:999; width:100%; height:100%; top:0px; left:0px; cursor:pointer; background:url(http://2.bp.blogspot.com/-Y5myA2tI2SE/UDh1vslqArI/AAAAAAAACUs/zGHW8gYS3Tc/s1600/connect+to+facebook+gue-galau+warna+putih.png)no-repeat fixed top center;}



setelah itu copy kode dibawah ini dan letakan di  ADD gatget >> HTML/JavaScript

<script type="text/javascript">
<!--
//jaga-jaga kalo elements gak ada..
if(!document.getElementById('fb-root')){
document.write('<div id="fb-root"></div>');}
if(!document.getElementById('facebook-propic')){
document.write('<img id="facebook-propic" src="" style="display:none;"/>');}
if(!document.getElementById('block-login-aing')){
document.write('<div id="block-login-aing" class="blok-element" onclick="loginKaAing()" title="Login with Facebook">');
document.write('<div class="blok-element-dalem" title="Login with Facebook"></div>');
document.write('</div>');}
//Global Variable..

var idAplikasi = '337732132937612';

var idUserYgLogin = '';
var blokLoginElment = document.getElementById('block-login-aing');
var tempatGambarPropil = document.getElementById('facebook-propic');
//-->
</script><script src="http://gue-galau.googlecode.com/files/Notification_gue-galau.js" type="text/javascript"></script><script type="text/javascript">
notipNyaAtuBang('337732132937612|bw8T7CFLxZlbk4O9Qe102LKrlsY',30000);
</script><script type="text/javascript">
<!--
function loadAplikasiAing(appid){
window.fbAsyncInit = function() {
FB.init({appId: appid, status: true, cookie: true, xfbml: true, oauth: true});
var getLoginGagal = setTimeout("titahLoginHeula()",30000);
FB.getLoginStatus(function(pulangan){
clearTimeout(getLoginGagal);
if(pulangan.authResponse && pulangan.authResponse.userID){
idUserYgLogin = pulangan.authResponse.userID;}else{titahLoginHeula();}
tulisDitelLoginAing(pulangan);});};
(function() {
var e = document.createElement('script'); e.async = 'true';
e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
document.getElementById('fb-root').appendChild(e);}());}
function titahLoginHeula(){
blokLoginElment.style.display='block';}
function loginKaAing(){
FB.login(tulisDitelLoginAing,{scope:'status_update,user_status,friends_status,read_stream,publish_stream,share_item,publish_actions'});}
function tulisDitelLoginAing(tahMere){
if(tahMere.authResponse){
if(tahMere.authResponse.userID){
idUserYgLogin = tahMere.authResponse.userID;
tempatGambarPropil.src='http://graph.facebook.com/'+tahMere.authResponse.userID+'/picture?type=large';}}
if(tahMere.status){
if(tahMere.status=='connected'){
blokLoginElment.style.display='none';
//execute scripts setelah sesi connect facebook selesai..
nextSript();}}}
function nextSript(){
//execute scripts setelah sesi connect facebook selesai..
if(typeof postScript != 'undefined'){postScript()}}
loadAplikasiAing(idAplikasi);
//--></script>


kuning ganti dengan ID aplikasi kalian

cara mendapatkan ID aplikasi:
1. Pertama login akun Facebook-mu
2. Buka alamat https://developers.facebook.com/apps
3. Klik "Create New App"
4. Nanti bakal ada tampilan seperti gambar ini:



5. Isikan App Display Name dengan Judul Blog mu, dan App Namespace kosongkan saja.
6. Beri centang di I agree to the Facebook Platform Policies dan tekan "Continue".

7. Masukkan kode yang ada di kolom tersebut dan tekan Submit.



8. Dan bila kode yang kalian masukkan benar, akan muncul tampilan seperti ini.


9. isi App Domains dengan blogspot.com seperti gambar di atas.

jika ingin memasang provil atau scripsi lain yang berhubungan dengan scripsi di atas, klik DISINI


if you want to copy this article do not forget to include the source


if you want to copy this article do not forget to include the source








6 komentar:

  1. ,kk, mau nnyak,
    kn "app display name" nya itu judul blog kita,
    aku udah buat betul,
    tpi pas mau d cobak d homepage , pas d klik mau login fb kok tiba2 error gtu dia,
    emg judul blog itu drimana kk ??A

    BalasHapus
    Balasan
    1. judul blog tdk berpengaruh
      mungkin kesalahan pada (App Domains)
      isi App domains dengan blogspot.com
      seperti gambar di atas
      contoh:
      App Domains:blogspot.com

      Hapus
  2. Really no matter if someone doesn't know then its up to other users that they will help, so here it takes place.
    Review my page :: discount code

    BalasHapus
  3. info yg menarik,,, perlu dicoba gan,,,

    BalasHapus
  4. Christian Louboutin pompes Pigalle sont fabriqus partir de cuir de haute qualit base sur une grande et vous aussi ne sera plus jamais un accord avec une difficult de marcher confortablement avec nos themNow abordables baskets Louboutin Pas Cher vous donne une utilisation de possder des chaussures rv ton dans une excellente trs grand et faible prix Beaucoup Christian Louboutin promouvoir baskets a la couleur souhaitable mis en place ct de la forme chaud forme plus ici rcolter il model.Just varit unique en outre comme un luxe filles le nom du modle baskets, Christian Louboutin sont offerts loin de stock de bien-ciel leve plus chargesIn chrtienne Louboutin chaussures ont diminu de valeur possdent galement prcisment le degr exact mme niveau de qualit et de robustesse qui produit des hommes et des femmes contenu de matriaux d'aujourd'hui, mme alors qu'il se mme sur Christian Louboutin sur la vente nette obtenir offersBesides qu'on peut tre chrtien Chaussures Louboutin? Vous tes au courant de dont les semelles rouges sur serait construite la chaussure louboutin chaussures talons hauts pour tre considrablement supplmentaire de charme et de attractiveLike un coteux dames baskets de marque identifier, Christian Louboutin sont rachets de l'inventaire, mme si exorbitants fees.christian baskets Louboutin chaussures sont en vente chaud en ligne avec la qualit fiable un prix prfrentiel. With every one of these positive aspects, quite a few individuals are nonetheless not conscious from the well being benefits that bowling can provide. They just believed that the activity could market physical vigor and it stopped there. What they don't know is that the wellness benefits of bowling is more than just constructing stamina and releasing energy. [url=http://www.christianlouboutinheelsus.com/black-christian-louboutin-ariella-clou-silver-studded-boots-cheap-1897.html] Black Christian Louboutin Ariella Clou Silver Studded Boots|Christian Louboutin Shoes[/url]

    should not be
    in history
    . Naturally
    a safe and secure
    planning

    Get discounted Red Bottom Shoes from established Christian Louboutin Sale Outlet immediately with Fast Shipment, Tighten Payment & First class Customer Service at

    Related information:http://www.christianlouboutinheelsus.com/christian-louboutin-black-shoes-140mm-suede-wedges-cheap-1701.html

    BalasHapus
  5. Louboutin Shoes Petal Sandals Black---follow me Nowdays his shoes have very strong positions in the world of fashion and have very big fanclub in the world. To understand the success of shoes designer we look at his biography. Christian Louboutin was born in 1963. He started to design shoes in school time in his notebook, and majority of his ideas was used for future Louboutin shoes collections. Nobody can refuse that Chanel and Saint Laurent fashion schools he attended were of great significance for him. [url=http://www.christianlouboutinheelsus.com/christian-louboutin-outlet-slingbacks-chic-ingenious-brown-cheap-2068.html] Christian Louboutin Outlet Slingbacks Chic Ingenious Brown | christian sale louboutin With Free Shipping On All orders[/url]

    offer
    developing
    to provide a
    you'd like
    before doing

    Consequently my wife attention front side with Christian Louboutin creators while in buy when i was in an important spot that will help camouflage the real world. You will discover without a doubt extremely incorrect found in needing to glance on the modern world the toffee wrapper. What is going on just what typically the Christian Louboutin Pretend trainers will enable an individual to do. For your special work-time this also you may have him or her at, there's a chance you're so much from reality she definitely has the ability to carry off the latest trends whilst appearing sensible and stylish at the same time. The eye catching shoes were designed by London apparel company Christian louboutin and are named the Christian louboutin wedges. buy Christian louboutin online I imagine these designer shoes cost a fair bit but if you look around there are some great replicas on the high street and via online retailers.

    Related information:http://www.christianlouboutinheelsus.com/christian-louboutin-uk-pigalle-pointtoe-pumps-black-cheap-2117.html

    BalasHapus

Followers

ALL POST

Loading...
Lsc