Lightbulb-phpXperts2011 2011-rinku.arnob

997 views

Published on

Facebook App Dev. using LightBulb

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
997
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Lightbulb-phpXperts2011 2011-rinku.arnob

  1. 1. Facebook App Dev.using LightBulb
  2. 2. Traditional FB AppX/FBMLFBJSFQLOpenGraphSDKs JS/PHP/iOS/RUBY/PYTHON
  3. 3. PROBLEMSSteep Learning CurveLack of DocumentationLack of OfficialSupportFatal ChangesOvernight
  4. 4. LightBulb in ActionoAuth 2.0 ReadyWrapper of OpenGraph, JS-SDK and SocialPluginsHelper Functions Upload Image Upload Video Upload Audio
  5. 5. Painful WayExample of traditional FB Login using jS-SDK
  6. 6. LightBulb Way$.LightBulb({ apikey:"288048857874241", permissions:publish_stream,email, callback:function(data) {} });
  7. 7. Fetching UserData$.LightBulb({ apikey:"288048857874241", permissions:publish_stream, email, callback:function(data) { var userDetails = LightBulb._getFacebookData(); alert(“Your Facebook user id is " +userDetails.facebookUserId); }
  8. 8. New permission$.LightBulb({ apikey:"288048857874241", permissions:"manage_pages", forcedPermission:true, callback:function(data) {} });
  9. 9. Publish Feed$.LightBulb.dialogs.publishFeed (“me”, “me”, "My feed", "MyCaption”, "http://leevio.com", "My Description", "", "", "", "", function(response) { console.log(response); });
  10. 10. Publish Feed
  11. 11. Supported ObjectsFeeds User and FriendsPictures & Albums Social PluginsVideos GroupsActions Notes Like/Dislike Delete Pages TabsEvents WallLinks QuestionsComments Applications
  12. 12. Why LightBulb Painless Adaptive and High Compatibility Well Maintained Short Learning Curve
  13. 13. Project LightBulb Hasin Hayder. M A Hossain Tonu. Nhm Thanveer Hossain Khan. Shidur Rahaman.LightBulb Download Link:https://github.com/hasinhayder/LightBulb
  14. 14. Thanks YouMd. Alamgir Hossain (rinku.arnob). Work with LEEVIOteam

×