Intro To Bebo Applications by Thought Labs

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.

1 comments

Comments 1 - 1 of 1 previous next Post a comment

  • guest1ca406 guest1ca406 2 years ago
    Very informative presentation. I particulalry like the simplicity of the doorbell application as the example.



    Clear direction.
Post a comment
Embed Video
Edit your comment Cancel

2 Favorites

Intro To Bebo Applications by Thought Labs - Presentation Transcript

  1. John Maver http://www.thoughtlabs.com [email_address] (978) 204-9239
  2. Overview
    • Parts of a Bebo Application
    • Creating an Application
    • User Management
    • Doorbell Overview
      • The Profile
      • Canvas Page
      • News stories and Invites
  3. Parts of a Bebo Application
    • Bebo URL
    • Callback URL
    • Canvas Page
    • Profile Box
    • Invitations
    • News Stories
  4. Creating an Application
    • Install the Bebo Developer Application
    • Get a Server
    • Set up your web host
    • Get the Bebo library
    • Create your index.php file
  5. Application Settings
  6. Sample Index.php
      • require_once "bebo.php";
      • // Global definitions for your app
      • $appVisibleName = "Favorite Birds";
      • $appApiKey = "copy API Key from the developer application page";
      • $appSecret = "copy API Secret from the developer application page";
      • $appCallback = "http://myserver.com/favoritebirds ";
      • $appBeboURL = "http://apps.bebo.com/favoritebirds/";
      • // Force everyone to add the application.
      • // If they have already added it, then display the page
      • $bebo = new Bebo( $appApiKey, $appSecret );
      • $userID = $bebo->require_add();
      • // Display the Canvas page
      • displayPage($bebo);
      • // Update the user's profile
      • updateProfile($bebo);
      • // Publish a news story
      • publishStory($bebo);
  7. Advanced User Management
    • All users must add the application to interact
    • Three user states – Just added, Normal user, Removing
    • Using $_REQUEST params to customize
    • Post-Add Handlers change the behavior
    • Handling remove
  8. User Management Example
      • // An existing user will have the fb_sig_in_canvas variable set, unless they are removing
      • if (isSet($_POST) && isSet($_POST['fb_sig_in_canvas'])) {
      • // Bebo will pass their user id and that they have added the application
      • if ( isSet($_POST['fb_sig_user']) && $_POST['fb_sig_added'] == 1 ) {
      • $userID = $_POST['fb_sig_user'];
      • // If the user has just installed, Bebo will pass installed as a GET parameter
      • if ( isSet($_GET) && isSet($_GET['installed']) ) {
      • newInstall($userID);
      • }
      • // Normal users will go through here, so display the page
      • $bebo = new Bebo( $appApiKey, $appSecret );
      • displayPage($bebo);
      • // Update the user's profile
      • updateProfile($bebo);
      • // Publish a news story
      • publishStory($bebo);
      • }
      • }
      • // If you set up your own post add handler, then you must handle the add request the way you want,
      • // and then redirect back to your Bebo URL. If you don't specify a post add handler, Bebo does this for you.
      • else if ( isSet($_GET) && isSet($_GET['installed']) ) {
      • $bebo = new Bebo( $appApiKey, $appSecret );
      • newInstall($bebo );
      • $bebo->redirect($appBeboURL);
      • }
      • // If you specify a post remove URL, then Bebo will call it with this POST variable.
      • // After this call, you won't get anything else from this user unless they re-add your application
      • else if ( isSet($_POST) && isSet($_POST['fb_sig_uninstall']) ) {
      • $userID = $_POST['fb_sig_user'];
      • uninstallUser( $userID);
      • }
      • // If the user goes to your callback URL directly, they didn't come in from Bebo, and you will have no information about the user
      • // In most cases, you will just want to force the user to add the application by using require_add. This will force them back through
      • // the existing user path above
      • else {
      • $bebo = new Bebo( $appApiKey, $appSecret );
      • $bebo->require_add();
      • }
    User Management - continued
  9. Doorbell Overview - Profile Actions Click to do MockAjax callback Links to friend profiles
  10. Doorbell Overview – Canvas Tabs to other Pages Click to do MockAjax callback Navigation Leaderboard
  11. Doorbell Overview – Rankings
  12. Doorbell Overview – Customize
  13. Doorbell Overview – Invite
  14. About Thought Labs Thought Labs provides consulting services for social media with a specialization in Social Networking technologies. We work closely with our clients to build their social media investments from their inception to maturity with a strong focus on ROI. We can help clients unravel the uncertainty of entering into the world of Facebook, OpenSocial, Web 2.0, and social media. We provide an entire range of services that meets the needs of today's demanding web markets: custom application development, widget and gadget creation, marketing and advertising advice, development of ROI metrics for marketing campaigns, user-generated content platform analysis and creation (wikis, blogs, and forums), and social networking expertise. Let us help you to make your social media visions a reality. John Maver http://www.thoughtlabs.com [email_address] (978) 204-9239

John MaverJohn Maver, 2 years ago

custom

1934 views, 2 favs, 1 embeds more stats

John Maver's slide deck from the Graphing Social Pa more

More Info

© All Rights Reserved

Go to text version
  • Total Views 1934
    • 1829 on SlideShare
    • 105 from embeds
  • Comments 1
  • Favorites 2
  • Downloads 14
Most viewed embeds
  • 105 views on http://mashraqi.com

more

All embeds
  • 105 views on http://mashraqi.com

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