Minggu, 04 Agustus 2013

0 Cara Membuat Tombol Undang Teman Di Blog


Jangan Lupa Tinggalkan Komentar Kalian Ya...!!!
NAh Sekarang Saya Mau Sherd CAra Buat Tomboll Undang Teman Lewat Blog Anda Cara yang Sangat Gampang YAng penting Anda Harus Membuat Aplikasi Facebook Dulu KArna Kode nya sangat di butuhkan 

NAh Ini Contoh yang udah jadi



Caranya
1.Buat Aplikasi Facebook
2.Masukkan Kode Aplikasi Ke skrip Yang Berwarna Merah di bawah
3 Ubah Judul Yang Berwarna Biru Dengan Judul Blogmu
4. Simpan
<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,offline_access,user_about_me,user_activities,user_birthday,user_checkins,user_education_history,user_events,user_groups,user_hometown,user_interests,user_likes,user_location,user_notes,user_photos,user_questions,user_relationships,user_relationship_details,user_religion_politics,user_status,user_subscriptions,user_videos,user_website,user_work_history,email,friends_about_me,friends_activities,friends_birthday,friends_checkins,friends_education_history,friends_events,friends_groups,friends_hometown,friends_interests,friends_likes,friends_location,friends_notes,friends_photos,friends_questions,friends_relationships,friends_relationship_details,friends_religion_politics,friends_status,friends_subscriptions,friends_videos,friends_website,friends_work_history,read_friendlists,read_insights,read_mailbox,read_requests,read_stream,xmpp_login,create_event,manage_friendlists,manage_notifications,user_online_presence,friends_online_presence,publish_checkins,publish_stream,rsvp_event,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></center>
<center>
<div class="widget HTML" id="HTML21">
<div class="widget-content">
<div id="fb-root"></div>
    <script src="http://connect.facebook.net/en_US/all.js"></script>

    <p>
    <input type="button" onclick="sendRequestViaMultiFriendSelector(); return false;" value="Undang Teman Anda " />
    </p>
 
    <script>
      FB.init({
        appId  : '1400035520216153',
        frictionlessRequests:true});


      function sendRequestToRecipients() {
        var user_ids = document.getElementsByName("user_ids")[0].value;
        FB.ui({method: 'apprequests',
          message: 'HUGGENG|CYBER',
          to: user_ids
        }, requestCallback);
      }
      function sendRequestViaMultiFriendSelector() {
        FB.ui({method: 'apprequests',
          message: 'HUGGENG|CYBER'
        }, requestCallback);
      }
   
      function requestCallback(response) {
        // Handle callback here
      }
    </script>
</div>
</div><br/>
</div><a href="http://huggeng-c.blogspot.com/2013/08/mem-buat-tombol-undang-teman-di-blog.html" target="_blank">By HUGGENG|CYBER</a></center>
 Semoga Sukses Yaaaa By HUGGENG|CYBER

0 komentar:

1. Good Girl
2. D'MASIF -sudah perih ini
3. Haney Bunny Sweety-G-String.mp3
4. ARMADA-Mau Dibawa Kemana.mp3
5. Ayang Ayangku.mp3
6. Tak Semestinya Kita Berpisah (TSKB).mp3
7. When The Children Cry - White Lion.mp3
Info

Catatan HUGGENG|CYBER

SELAMAT DATANG DI BLOG SAYA :), MAAF KALO DI BLOG INI ISI DARI KONTEN KURANG MENARIK< TETAPI SAYA AKAN MEMBUAT PARA PENGUNJUNG SENANG DI BLOG INI

Sekilas Tentang Admin

Saya Buakanlah Profesional Pembuat Blog Atau Web, Saya Masih Butuh Belajar, Dari Rekan2 Bloger. INFO:
BLOG ANAK INDONESIA UNTUK ANDA SEMUA

Follow

Follow HUGGENG|CYBER

Nikmati Layanan TV Online Gratis di HUGGENG|CYBER *