您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 销售管理 > 世界成长最快it企业脸谱网站的移动用户体验与服务facebo
’sGarageJanuary23rd2008•Ademoapplication•Whatcanandcan’tbedone•MobilebrowsingandSMSmessaging•Afewtechnicaldetails–SecretStatusTheSecretStatusapplication•Allowstheusertoentertwostatusmessages•Allowsomefriendstoviewyoursecretstatus•Receiveupdatesfromthesecretstatuschangesofothers–SecretStatusSecretStatusMobileCutdownfunctionality:•Updateyourstatusmessages•Viewstatusmessagesofyourfriends•Abasicprofilevie•Mobilehomepage•Mobile-specificprofile•Mobile-specificapplicationcanvaspages•ReceiveSMSmessagesfromusers(onO2)•SendSMSmessagestoauser–statusupdates–events–cutdownnewsfeed–linkstoFacebooktasks–linkstoyourprofileLittleanappcanaddhere–XHTMLcontent–asubsetofFBML–Cancontainlinkstotheapplicationcanvaspage–Automaticallyservedaspartofthem.facebook.comdomain–SetprofilemarkupwiththeupdatedparameterofthesetFBMLAPIcall–XHTMLcontent–asubsetofFBML–Canbeinteractivee.g.formposts–Servedinsidethefb:mobiletag–Renderingwilldependonthemobiledevice’scapabilities•CanvaspageshaveidenticalURLse.g.•Canvaspagestrytodetectmobiledevice–receivefb_sig_mobile=1inPOST•Butmobiledevicespretendtobenormalbrowsers•Asaresultusersmaybeservedthe“regular”site(=x00kbdownload)•ToforceFacebookMobiledisplay–adde.g.is_mobile=1toalllinks,especiallyfromtheprofile–switchoutputatthetopofthepage–outputcodewithinanfb:mobiletag=1throughPOSTNois_mobile=1?ApplicationrendersmobilecontentMobiledeviceslieatthispointFacebookdecidestorendermobileframeSendsurroundingfb:mobiletagYesThisforcesmobileframerenderingApplicationrendersstandardcontentNoFacebookdefaultstostandardframe•Tick“Myapplicationusesthemobileplatform”intheappsettings•OnO2,sendatextto32665•Sendmessageas:app_canvas_namequery•Themessageispostedtotheapp’sindexpage•fb_sig_smsissetto1inthePOST•UserneedstohaveactivatedFacebookmobile–Enterphonenumber(andpretendtobeonO2)–ReceiveanSMSconfirmationcode–EnterthecodeonFacebook•NeedstohavegivenyourapplicationpermissiontosendSMSbyvisiting:–=YOUR_API_KEY&v=1.0&ext_perm=sms•PossibletoqueryforwhetherpermissionhasbeengivenviatheAPI•(Signupisapooruserjourney)($facebook-api_client-call_method('facebook.sms.canSend',array('uid'=$userID))){try{$facebook-api_client-call_method('facebook.sms.send',array('uid'=$userID,'message'=TestSMS“));}catch(FacebookRestClientException$ex){$error[]=$ex-getMessage();}}•Mobileprofileandcanvaspagesareeasytoimplement,iftheapplicationwarrantsit•TheSMSAPIislimitedbybeingtiedtoO2•UsershavetoworkhardtoenableSMS•Mobilebrowserversionsofapplicationsareviablenow,butSMSenabledappsmaybebetteroffwith3rdpartygateways’sGarageJanuary23rd2008
本文标题:世界成长最快it企业脸谱网站的移动用户体验与服务facebo
链接地址:https://www.777doc.com/doc-1582729 .html