Your SlideShare is downloading. ×
Facebook JavaScript SDK
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Facebook JavaScript SDK

6,057

Published on

Facebook JavaScript SDK intro

Facebook JavaScript SDK intro

1 Comment
0 Likes
Statistics
Notes
  • chci zpatky hry program slotomania prosim o pomoc omylem nevim je ztraceni ne ukazuje mi
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

No Downloads
Views
Total Views
6,057
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
29
Comments
1
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Transcript

    • 1. FB.getLoginStatus(function (response) { if (!response.session) { alert(‘not logon’); } else { alert(‘logined!’); }});
    • 2. FB.api( ‘/me’, function(response) { var user = response; $(#user-info).html( <img src=" + user.pic + "> +user.name).show(fast); });
    • 3. FB.api( { method: fql.query, query: SELECT name, pic FROM profileWHERE id= + FB.getSession().uid }, function(response) { var user = response; $(#user-info).html( <img src=" + user.pic + "> +user.name).show(fast); });
    • 4. { "id": "220439", "name": "Bret Taylor", "first_name": "Bret", "last_name": "Taylor", "link": "http://www.facebook.com/btaylor", "username": "btaylor", "gender": "male", "locale": "en_US"}

    ×