Facebook Profile Updates

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Group

    Facebook Profile Updates - Presentation Transcript

    1. Part of the Facebook Developer Garage series
    2. Profile Security
      • Controlled External Content
        • Consistent presentation
        • User Experience
      • Content Rules
        • No iFrames
        • No auto-run for Flash and Silverlight
      • Caching
        • Profile Boxes are cached
        • Limit load on your server
        • Require explicit update
    3. Methods for Profile Update
      • profile_setFBML()‏
        • User access restricted
      • fb:ref
        • URL
        • Handle
    4. fb:ref method <fb:ref handle=&quot;HANDLE_HERE&quot; /> or <fb:ref url=&quot; http:// acme.ca/update.php?handle =HANDLE_HERE&quot; /> Then: facebook.fbml.setRefHandle(&quot;HANDLE_HERE&quot;, &quot;FBML_Content&quot;) ‏ or facebook.fbml.refreshRefUrl(&quot; http://acme.ca/update.php?handle = HANDLE_HERE&quot;) ‏ Note: Multiple Handles possible in the profile page, mass updates and 1 to many updates Infinite Session Required
    5. Infinite session
      • Maintains an infinite session for the application developer to make updates, required to run:
        • profile_setFBML() ‏
        • facebook.fbml.setRefHandle() ‏
        • facebook.fbml.refreshRefUrl() ‏
      • Note: User's can update their own profiles, infinite session is only require you want to update the profile without them interacting with your application.
    6. Get Infinite Session <?php // Include the facebook library config files. $facebook = new Facebook($api_key, $secret); // force a login page $facebook->require_frame(); $user = $facebook->require_login(); // Echo the &quot;infinite session key&quot; that everyone keeps talking about. echo $facebook->api_client->session_key; ?> Note: Logout and go to Callback URL
    7. Use Session Key <?php // Include the facebook library config files. $facebook = new Facebook($api_key, $secret); $user = YOUR_FACEBOOK_USER_ID; $key = SESSION_KEY_WE_PROCURED_ABOVE; // Allows &quot;you&quot; to run your script $facebook->set_user($user, $key);

    csmilliecsmillie, 2 years ago

    custom

    2124 views, 0 favs, 3 embeds more stats

    More Info

    © All Rights Reserved

    Go to text version
    • Total Views 2124
      • 2116 on SlideShare
      • 8 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 23
    Most viewed embeds
    • 5 views on http://remarkk.com
    • 2 views on http://220.227.190.252
    • 1 views on http://matthew.burpee.ca

    more

    All embeds
    • 5 views on http://remarkk.com
    • 2 views on http://220.227.190.252
    • 1 views on http://matthew.burpee.ca

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as innappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel

    Categories

    Groups / Events