CINXE.COM
<!DOCTYPE html> <html lang="es" id="facebook" class="no_js"> <head><script type="text/javascript" src="/_static/js/bundle-playback.js?v=HxkREWBo" charset="utf-8"></script> <script type="text/javascript" src="/_static/js/wombat.js?v=txqj7nKC" charset="utf-8"></script> <script>window.RufflePlayer=window.RufflePlayer||{};window.RufflePlayer.config={"autoplay":"on","unmuteOverlay":"hidden"};</script> <script type="text/javascript" src="/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("https://web.archive.org/web"); __wm.wombat("https://developers.facebook.com/docs/ios/like-button","20150506190948","https://web.archive.org/","web","/_static/", "1430939388"); </script> <link rel="stylesheet" type="text/css" href="/_static/css/banner-styles.css?v=S1zqJCYt" /> <link rel="stylesheet" type="text/css" href="/_static/css/iconochive.css?v=3PDvdIFv" /> <!-- End Wayback Rewrite JS Include --> <meta charset="utf-8"/><script>function envFlush(a){function b(c){for(var d in a)c[d]=a[d];}if(window.requireLazy){window.requireLazy(['Env'],b);}else{window.Env=window.Env||{};b(window.Env);}}envFlush({"ajaxpipe_token":"AXiyVCdZV9k_T9Q3","lhsh":"kAQHKfQXw"});</script><script>CavalryLogger=false;</script><noscript><meta http-equiv="refresh" content="0; URL=/web/20150506190948/https://developers.facebook.com/docs/ios/like-button?_fb_noscript=1"/></noscript><meta name="referrer" content="default" id="meta_referrer"/><title id="pageTitle">Like Button for iOS Apps (v3)</title><meta property="description" content="Add the native Like Button to your iOS App."/><meta property="fb:app_id" content="113869198637480"/><meta property="og:site_name" content="Facebook Developers"/><meta property="og:title" content="Like Button for iOS Apps (v3)"/><meta property="og:type" content="article"/><meta property="og:url" content="https://web.archive.org/web/20150506190948/https://developers.facebook.com/docs/ios/like-button"/><meta property="og:image" content="https://web.archive.org/web/20150506190948im_/https://fbstatic-a.akamaihd.net/rsrc.php/v2/y6/r/YQEGe6GxI_M.png"/><meta property="og:locale" content="en_US"/><meta property="og:description" content="Add the native Like Button to your iOS App."/><meta name="twitter:site:id" content="63359297"/><meta name="twitter:card" content="summary"/><script> (function(f,b,e,v,n,t,s){n=window.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};n.version='1.0';n.pixelId=e;n.queue=[];t=f.createElement(b);t.async=true;t.src=v;s=f.getElementsByTagName(b)[0];s.parentNode.insertBefore(t,s)}(document,'script','721503217860715','//web.archive.org/web/20150506190948/https://connect.facebook.net/en_US/fbevents.js')); fbq('reportPageView'); </script><noscript><img height="1" width="1" alt="" style="display:none" src="https://web.archive.org/web/20150506190948im_/https://www.facebook.com/tr?id=721503217860715&ev=PageView&noscript=1"/></noscript><script>fbq("reportViewContent", {"value":"2","currency":"EUR"});</script><script>(function() { var _fbq = window._fbq || (window._fbq = []); if (!_fbq.loaded) { var fbds = document.createElement('script'); fbds.async = true; fbds.src = '//web.archive.org/web/20150506190948/https://connect.facebook.net/en_US/fbds.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(fbds, s); _fbq.loaded = true; } _fbq.push(['addPixelId', '675141479195042']); })(); window._fbq = window._fbq || []; window._fbq.push(['track', 'PixelInitialized', {}]); </script><noscript><img height="1" width="1" alt="" style="display:none" src="https://web.archive.org/web/20150506190948im_/https://www.facebook.com/tr?id=675141479195042&ev=PixelInitialized"/></noscript><script>(function() { var _fbq = window._fbq || (window._fbq = []); if (!_fbq.loaded) { var fbds = document.createElement('script'); fbds.async = true; fbds.src = '//web.archive.org/web/20150506190948/https://connect.facebook.net/en_US/fbds.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(fbds, s); _fbq.loaded = true; } _fbq.push(['addPixelId', '574561515946252']); })(); window._fbq = window._fbq || []; window._fbq.push(['track', 'PixelInitialized', {}]); </script><noscript><img height="1" width="1" alt="" style="display:none" src="https://web.archive.org/web/20150506190948im_/https://www.facebook.com/tr?id=574561515946252&ev=PixelInitialized"/></noscript><link rel="shortcut icon" href="https://web.archive.org/web/20150506190948im_/https://fbstatic-a.akamaihd.net/rsrc.php/yV/r/hzMapiNYYpW.ico"/><link type="text/css" rel="stylesheet" href="https://web.archive.org/web/20150506190948cs_/https://fbstatic-a.akamaihd.net/rsrc.php/v2/yg/r/v7REavddhLb.css" data-bootloader-hash="tWGF7" data-permanent="1"/> <link type="text/css" rel="stylesheet" href="https://web.archive.org/web/20150506190948cs_/https://fbstatic-a.akamaihd.net/rsrc.php/v2/yr/r/WvYQdJnuYQz.css" data-bootloader-hash="VDgFq"/> <script src="https://web.archive.org/web/20150506190948js_/https://fbstatic-a.akamaihd.net/rsrc.php/v2/yP/r/cB8u0-zrGmU.js" data-bootloader-hash="KdezG" crossorigin="anonymous"></script> <script>(require("ServerJSDefine")).handleDefines([["URLFragmentPreludeConfig",[],{"incorporateQuicklingFragment":true,"hashtagRedirect":true},137],["CSSLoaderConfig",[],{"timeout":5000},619],["AsyncRequestConfig",[],{"retryOnNetworkError":"1"},328],["DTSGInitialData",[],{},258],["SiteData",[],{"revision":1723465,"tier":"","push_phase":"V3","pkg_cohort":"EXP1:devsite_pkg","vip":"173.252.74.22"},317],["CoreWarningGK",[],{"forceWarning":false},725],["CurrentUserInitialData",[],{"USER_ID":"0","ACCOUNT_ID":"0"},270],["UserAgentData",[],{"browserArchitecture":"32","browserFullVersion":null,"browserMinorVersion":null,"browserName":"Unknown","browserVersion":null,"deviceName":"Unknown","engineName":"Unknown","engineVersion":null,"platformArchitecture":"32","platformName":"Unknown","platformVersion":null,"platformFullVersion":null},527],["CurrentCommunityInitialData",[],{},490],["ISB",[],{},330],["LSD",[],{"token":"AVp1bER5"},323],["BanzaiConfig",[],{"EXPIRY":86400000,"MAX_SIZE":10000,"MAX_WAIT":150000,"RESTORE_WAIT":150000,"blacklist":["time_spent"],"gks":{"boosted_pagelikes":true,"boosted_posts":true,"boosted_website":true,"jslogger":true,"kbshortcuts_feed":true,"mercury_send_error_logging":true,"miny_compression":true,"pages_client_logging":true,"time_spent_bit_array":true,"useraction":true,"videos":true,"visibility_tracking":true,"vitals":true,"allow_userid_mismatch":true}},7],["ModulePerformanceGating",[],{"bootload_share_dialog":true,"bootload_page_voice_dropdown":true,"js_module_defer_banzai_restoration":false,"js_module_defer_blob_creation":false,"js_module_kill_legacy_tooltip":false,"js_module_defer_channel_manager_start":false,"js_module_defer_left_nav_section_bookmarks":false},793],["TrackingConfig",[],{"domain":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/pixel.facebook.com"},325],["ErrorSignalConfig",[],{"uri":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/error.facebook.com\/common\/scribe_endpoint.php"},319],["FbtNumber",["IntlEnglishNumberType"],{"impl":{"__m":"IntlEnglishNumberType"}},605],["IntlViewerContext",[],{"GENDER":50331648},772],["FbtLogger",[],{"logger":null},288],["FbtQTOverrides",[],{"overrides":{}},551],["DisplaySnowliftProfilePhotoNux",[],{"display":false},817],["SessionNameConfig",[],{"seed":"0SS8"},757],["InitialServerTime",[],{"serverTime":1430939388000},204],["UFIConstants",[],{"UFIActionType":{"COMMENT_LIKE":"fa-type:comment-like","COMMENT_SET_SPAM":"fa-type:mark-spam","DELETE_COMMENT":"fa-type:delete-comment","DISABLE_COMMENTS":"fa-type:disable-comments","LIVE_DELETE_COMMENT":"fa-type:live-delete-comment","LIKE_ACTION":"fa-type:like","SUBSCRIBE_ACTION":"fa-type:subscribe","REMOVE_PREVIEW":"fa-type:remove-preview","MARK_COMMENT_SPAM":"fa-type:mark-spam","CONFIRM_COMMENT_REMOVAL":"fa-type:confirm-remove","TRANSLATE_COMMENT":"fa-type:translate-comment","COMMENT_LIKECOUNT_UPDATE":"fa-type:comment-likecount-update","ADD_COMMENT_ACTION":"fa-type:add-comment"},"UFICommentOrderingMode":{"CHRONOLOGICAL":"chronological","RANKED_THREADED":"ranked_threaded","TOPLEVEL":"toplevel","RECENT_ACTIVITY":"recent_activity","FEATURED":"featured","FILTERED":"filtered"},"UFIFeedbackSourceType":{"PROFILE":0,"NEWS_FEED":1,"OBJECT":2,"MOBILE":3,"EMAIL":4,"PROFILE_APPROVAL":10,"TICKER":12,"NONE":13,"INTERN":14,"ADS":15,"EVENT_GOING_FLYOUT":16,"PHOTOS_SNOWLIFT":17,"PHOTOS_SNOWFLAKE":20,"USER_TIMELINE":21,"PAGE_TIMELINE":22,"SEARCH":23,"PAGE_TAB":24,"TIMELINE_COLLECTION":25,"TOPIC_CONVERSATION":26,"ON_THIS_DAY":27},"UFIPayloadSourceType":{"UNKNOWN":0,"INITIAL_SERVER":1,"LIVE_SEND":2,"USER_ACTION":3,"ENDPOINT_LIKE":10,"ENDPOINT_COMMENT_LIKE":11,"ENDPOINT_ADD_COMMENT":12,"ENDPOINT_EDIT_COMMENT":13,"ENDPOINT_DELETE_COMMENT":14,"ENDPOINT_COMMENT_SPAM":16,"ENDPOINT_REMOVE_PREVIEW":17,"ENDPOINT_ID_COMMENT_FETCH":18,"ENDPOINT_COMMENT_FETCH":19,"ENDPOINT_TRANSLATE_COMMENT":20,"ENDPOINT_BAN":21,"ENDPOINT_SUBSCRIBE":22,"ENDPOINT_COMMENT_LIKECOUNT_UPDATE":23,"ENDPOINT_DISABLE_COMMENTS":24,"ENDPOINT_ACTOR_CHANGE":25},"UFIStatus":{"DELETED":"status:deleted","SPAM":"status:spam","SPAM_DISPLAY":"status:spam-display","LIVE_DELETED":"status:live-deleted","FAILED_ADD":"status:failed-add","FAILED_EDIT":"status:failed-edit","PENDING_EDIT":"status:pending-edit"},"attachmentTruncationLength":80,"commentTruncationLength":420,"commentTruncationMaxLines":3,"commentTruncationPercent":0.6,"commentURLTruncationLength":60,"defaultPageSize":50,"infiniteScrollRangeForQANDAPermalinks":1000,"minCommentsForOrderingModeSelector":2,"unavailableCommentKey":"unavailable_comment_key"},240]]);new (require("ServerJS"))().handle({"require":[["TimeSlice"],["markJSEnabled"],["lowerDomain"],["URLFragmentPrelude"],["Primer"],["Bootloader"]]});</script></head><body class="_55w7 x1 Locale_es_LA" dir="ltr"><div class="_li"><div class="_58k7" id="devsite_header" data-referrer="devsite_header"></div><div class="_53vp _574s _584r"><div class="clearfix _53u5"><div class="_4bl7 _53u6" role="navigation" id="u_0_0"><div class="_4lr1 fixed_elem _r1p" id="documentation_primary_nav_pagelet" data-referrer="documentation_primary_nav_pagelet"></div></div><div class="_4bl7 _53u7" role="main"><div id="documentation_body_pagelet" data-referrer="documentation_body_pagelet"></div></div><div class="_4bl7 _584s" role="navigation"><div id="documentation_auxiliary_nav_pagelet" data-referrer="documentation_auxiliary_nav_pagelet"></div></div></div></div><div id="devsite_dock" data-referrer="devsite_dock"></div></div> <script>requireLazy(["Bootloader"], function(Bootloader) {Bootloader.setResourceMap({"JJEZP":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yu\/r\/ZbNMt6wls8u.js","crossOrigin":1},"9P9WR":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yg\/r\/OTerZTpyFzP.js","crossOrigin":1},"UoEp8":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yQ\/r\/E75x2eB3HHp.js","crossOrigin":1},"ykxUX":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yL\/r\/8zU7XG3IvQ8.js","crossOrigin":1},"4vv8\/":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yd\/r\/KzPBZimeKDr.js","crossOrigin":1},"6Nu+i":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yO\/r\/GVP0WycL23D.js","crossOrigin":1},"KWz6u":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/y6\/r\/25qkVlHSAp-.js","crossOrigin":1},"nKILc":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yT\/r\/krue3DTSRxu.js","crossOrigin":1},"yuT\/V":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yb\/r\/QnN9B4VPx9G.js","crossOrigin":1},"tWGF7":{"type":"css","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yg\/r\/v7REavddhLb.css","permanent":1,"crossOrigin":1},"SGc4s":{"type":"css","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/ya\/r\/f1erzvxD2Cj.css","permanent":1,"crossOrigin":1},"IS2BP":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yp\/r\/-w0sH2FquL8.js","crossOrigin":1},"Lp4dA":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/y-\/r\/0xZODRwrvOQ.js","crossOrigin":1},"uwEfB":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yg\/r\/2Trs9V_8EDq.js","crossOrigin":1},"nI\/FM":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yL\/r\/R7to4zt-47m.js","crossOrigin":1},"9Cjbp":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/y0\/r\/MB1yMumQAWY.js","crossOrigin":1},"0B0Ib":{"type":"css","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yy\/r\/QZ3i_JMXyhs.css","permanent":1,"crossOrigin":1},"20549":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/y8\/r\/S6TT5SrVVXU.js","crossOrigin":1},"JzxzL":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yn\/r\/A6gKgyCkn8d.js","crossOrigin":1},"eIK+i":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yF\/r\/17UtABX78Rp.js","crossOrigin":1},"EV+S9":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yz\/r\/Cbi1w5xFhLS.js","crossOrigin":1},"ccpBO":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yz\/r\/VAI9TSC8ZQd.js","crossOrigin":1},"+ClWy":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yu\/r\/8u4lTKHi4fp.js","crossOrigin":1},"oE4Do":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/y4\/r\/rOyGh2ZVRlF.js","crossOrigin":1},"J1mgp":{"type":"css","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yg\/r\/Esf7__r29wD.css","permanent":1,"crossOrigin":1},"cNca2":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yO\/r\/pCLxKFqWKTk.js","crossOrigin":1},"7XvrP":{"type":"css","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/y2\/r\/nwoXuffbrfB.css","permanent":1,"crossOrigin":1},"J8DNQ":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yc\/r\/9XXRZXzYTF0.js","crossOrigin":1},"aPBJ1":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/ya\/r\/9MFk0t44HgT.js","crossOrigin":1},"Vjtja":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yS\/r\/GVYx6HPQaUj.js","crossOrigin":1},"tjvED":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yy\/r\/jMmDEV-4cPl.js","crossOrigin":1},"LYlRP":{"type":"css","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yp\/r\/myr811Mn4bE.css","permanent":1,"crossOrigin":1},"wjJT+":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yk\/r\/5YhYxm89WJm.js","crossOrigin":1},"EfmKY":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yK\/r\/UvsxbfzYgsY.js","crossOrigin":1},"I9olc":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/ya\/r\/HLPIU6XRtbd.js","crossOrigin":1},"9Q8Sk":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/y3\/r\/0yNy3zLpYzn.js","crossOrigin":1},"MBTNo":{"type":"css","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yp\/r\/BtiKXncC8Y1.css","permanent":1,"crossOrigin":1},"ysumW":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yc\/r\/tlA2BqgPLvM.js","crossOrigin":1},"eVKUI":{"type":"css","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yq\/r\/QO_Nb2Yl_jt.css","permanent":1,"crossOrigin":1},"jHG7k":{"type":"css","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yq\/r\/nKRjDo9pOoH.css","permanent":1,"crossOrigin":1},"67Qzu":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yu\/r\/_G4VcFXyoBB.js","crossOrigin":1},"d7V4X":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yJ\/r\/Jk0mp3Pqs08.js","crossOrigin":1},"R3lth":{"type":"css","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/y7\/r\/07gYARQBWT4.css","permanent":1,"crossOrigin":1},"AoI8L":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yP\/r\/d6pkkqGSQrk.js","crossOrigin":1},"ZCNtL":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yd\/r\/TJD-LlNLhq5.js","crossOrigin":1},"VDymv":{"type":"css","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/y6\/r\/TZXcgPyYWwo.css","permanent":1,"crossOrigin":1},"Rs18G":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yK\/r\/jJ7AayeMLeP.js","crossOrigin":1},"6AU0l":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/y4\/r\/kMi86rxhPtn.js","crossOrigin":1},"c0eZO":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/y4\/r\/SehQMEjrEFF.js","crossOrigin":1},"AtxWD":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yC\/r\/yrvgccVIkV2.js","crossOrigin":1},"zyFOp":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yK\/r\/GIF2Tlc0Im6.js","crossOrigin":1}});if (true) {Bootloader.enableBootload({"React":{"resources":["9P9WR","JJEZP","6Nu+i","KWz6u"],"module":true},"ExceptionDialog":{"resources":["JJEZP","nKILc","KWz6u","6Nu+i","yuT\/V","ykxUX","9P9WR","tWGF7","SGc4s","IS2BP","Lp4dA","uwEfB","nI\/FM","9Cjbp","0B0Ib","20549"],"module":true},"AsyncDOM":{"resources":["KWz6u","6Nu+i","JzxzL"],"module":true},"QuickSandSolver":{"resources":["JJEZP","6Nu+i","KWz6u","eIK+i","tWGF7","EV+S9","ccpBO","+ClWy"],"module":true},"ConfirmationDialog":{"resources":["JJEZP","6Nu+i","KWz6u","tWGF7","9P9WR","oE4Do"],"module":true},"Dialog":{"resources":["JJEZP","6Nu+i","9P9WR","KWz6u","tWGF7","ykxUX","J1mgp","IS2BP"],"module":true},"ErrorSignal":{"resources":["JJEZP","6Nu+i","KWz6u","cNca2"],"module":true},"Event":{"resources":[],"module":true},"AsyncDialog":{"resources":["JJEZP","6Nu+i","KWz6u","nKILc","yuT\/V","ykxUX","9P9WR","tWGF7","SGc4s","nI\/FM","uwEfB","Lp4dA"],"module":true},"AsyncRequest":{"resources":["JJEZP","6Nu+i","KWz6u"],"module":true},"DialogX":{"resources":["JJEZP","nKILc","KWz6u","6Nu+i","yuT\/V","ykxUX","9P9WR","tWGF7","SGc4s"],"module":true},"XUIDialogTitle.react":{"resources":["9P9WR","JJEZP","6Nu+i","KWz6u","ykxUX","tWGF7","Lp4dA","SGc4s","uwEfB"],"module":true},"XUIDialogBody.react":{"resources":["9P9WR","JJEZP","6Nu+i","KWz6u","ykxUX","tWGF7","Lp4dA","SGc4s","nI\/FM"],"module":true},"XUIDialogButton.react":{"resources":["9P9WR","JJEZP","6Nu+i","KWz6u","Lp4dA","ykxUX","tWGF7","nI\/FM"],"module":true},"XUIDialogFooter.react":{"resources":["9P9WR","JJEZP","6Nu+i","KWz6u","ykxUX","tWGF7","Lp4dA","0B0Ib","nI\/FM","SGc4s"],"module":true},"XUIGrayText.react":{"resources":["9P9WR","JJEZP","6Nu+i","KWz6u","ykxUX","tWGF7","Lp4dA","nI\/FM"],"module":true},"PhotoSnowlift":{"resources":["JJEZP","6Nu+i","KWz6u","9P9WR","tWGF7","ykxUX","J1mgp","IS2BP","7XvrP","J8DNQ","aPBJ1","nKILc","yuT\/V","SGc4s","nI\/FM","uwEfB","Lp4dA","Vjtja","tjvED","UoEp8","LYlRP","wjJT+","EfmKY","I9olc","9Q8Sk","MBTNo"],"module":true},"PhotoTagger":{"resources":["JJEZP","6Nu+i","KWz6u","ysumW","tWGF7","nKILc","yuT\/V","ykxUX","eVKUI","SGc4s","9P9WR","I9olc","jHG7k","67Qzu","aPBJ1"],"module":true},"Live":{"resources":["KWz6u","6Nu+i","JzxzL","JJEZP","wjJT+","d7V4X"],"module":true},"PhotoTagApproval":{"resources":["KWz6u","6Nu+i","aPBJ1","ysumW"],"module":true},"PhotoTags":{"resources":["KWz6u","6Nu+i","aPBJ1","JJEZP","jHG7k","ysumW"],"module":true},"TagTokenizer":{"resources":["KWz6u","6Nu+i","JJEZP","ykxUX","nI\/FM","jHG7k","R3lth","AoI8L","ysumW","tWGF7","9P9WR","ZCNtL"],"module":true},"css:fb-photos-snowlift-fullscreen-css":{"resources":["VDymv"]},"PhotosButtonTooltips":{"resources":["6Nu+i","JJEZP","9P9WR","KWz6u","ykxUX","tWGF7","I9olc","Rs18G"],"module":true},"VideoRotate":{"resources":["JJEZP","6Nu+i","KWz6u","9P9WR","tWGF7","ykxUX","J1mgp","IS2BP","6AU0l"],"module":true},"AsyncResponse":{"resources":["JJEZP","6Nu+i"],"module":true},"PhotoInlineEditor":{"resources":["KWz6u","6Nu+i","9P9WR","c0eZO","JJEZP","aPBJ1","ykxUX","tWGF7","UoEp8","ysumW","nKILc","yuT\/V","eVKUI","SGc4s","I9olc","jHG7k","67Qzu","Vjtja","AoI8L","R3lth","ZCNtL","nI\/FM","AtxWD"],"module":true},"Form":{"resources":["JJEZP","6Nu+i","KWz6u","tWGF7"],"module":true},"SpotlightShareViewer":{"resources":["KWz6u","6Nu+i","UoEp8","JJEZP","9P9WR","zyFOp"],"module":true},"Toggler":{"resources":["KWz6u","6Nu+i","ykxUX","JJEZP","tWGF7","9P9WR"],"module":true},"Tooltip":{"resources":["JJEZP","6Nu+i","KWz6u","ykxUX","9P9WR","tWGF7","I9olc"],"module":true},"DOM":{"resources":["KWz6u","6Nu+i"],"module":true},"Input":{"resources":["6Nu+i","KWz6u","JJEZP","tWGF7"],"module":true},"trackReferrer":{"resources":[],"module":true},"DimensionTracking":{"resources":["6Nu+i","JJEZP","9P9WR","d7V4X"],"module":true},"HighContrastMode":{"resources":["JJEZP","6Nu+i","J8DNQ","KWz6u","d7V4X"],"module":true},"DetectBrokenProxyCache":{"resources":["JJEZP","6Nu+i","d7V4X"],"module":true}});}}); requireLazy(["ix"], function(ix) {ix.add({"arrow-right:white:small":{"sprited":true,"spriteMapCssClass":"sp_PXcJGAbOOru","spriteCssClass":"sx_a3b1af"}});});</script> <script>requireLazy(["InitialJSLoader"], function(InitialJSLoader) {InitialJSLoader.loadOnDOMContentReady(["JJEZP","9P9WR","UoEp8","ykxUX","4vv8\/","6Nu+i","KWz6u"]);});</script> <script>(require("ServerJSDefine")).handleDefines([["TimeSpentConfig",[],{"0_delay":0,"0_timeout":8,"delay":200000,"timeout":64},142],["ImmediateActiveSecondsConfig",[],{"sampling_rate":0},423]]);require("InitialJSLoader").handleServerJS({"instances":[["m_0_0",["DeveloperSiteDocumentationX"],[],1]],"elements":[["m_0_1","u_0_0",2]],"require":[["m_0_0"],["DevsiteURLFragmentHandler","registerTransitionHandler",[],[]],["DevsiteURLChanger","changeURL",[],["\/docs\/ios\/like-button?locale=es_LA"]],["DevsiteNavColumnFixedScrolling","registerListeners",["m_0_1"],[{"__m":"m_0_1"}]],["Intl","setPhonologicalRules",[],[{"meta":{"\/_B\/":"([.,!?\\s]|^)","\/_E\/":"([.,!?\\s]|$)"},"patterns":{"\/_By \u0001([Ii]|[Hh]i[^e])\/":"$1e \u0001$2","\/_Bo \u0001([Oo]|[Hh]o)\/":"$1u \u0001$2","\/_\u0001([^\u0001]*)\u0001\/e":"mb_strtolower(\"\u0001$1\u0001\")","\/\\^\\x01([^\\x01])(?=[^\\x01]*\\x01)\/e":"mb_strtoupper(\"\u0001$1\")","\/_\u0001([^\u0001]*)\u0001\/":"javascript"}}]],["PostLoadJS","loadAndRequire",[],["DimensionTracking"]],["PostLoadJS","loadAndCall",[],["HighContrastMode","init",[{"isHCM":false,"spacerImage":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/y4\/r\/-PAXP-deijE.gif"}]]],["PostLoadJS","loadAndCall",[],["DetectBrokenProxyCache","run",[0,"c_user"]]],["ScriptPath","set",[],["XDeveloperDocumentationController","c2c8587b",{"imp_id":"bce8b9a6","entity_id":"312735348762724"}]],["ClickRefLogger"],["UserActionHistory"],["ScriptPathLogger","startLogging",[],[]],["TimeSpentBitArrayLogger","init",[],[]],["NavigationClickPointHandler"],["Artillery"],["NavigationMetrics","setPage",[],[{"page":"XDeveloperDocumentationController","page_type":"normal","page_uri":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/developers.facebook.com\/docs\/ios\/like-button"}]],["ModuleErrorLogger","init",[],[]]]});</script> <!-- BigPipe construction and first response --> <script>var bigPipe = new (require("BigPipe"))({"lid":"0","forceFinish":true});</script> <script>bigPipe.beforePageletArrive("first_response")</script> <script>require("TimeSlice").guard(function() {bigPipe.onPageletArrive({"id":"first_response","phase":0,"jsmods":{},"is_last":true,"css":["tWGF7","VDgFq"],"resource_map":{"VDgFq":{"type":"css","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/yr\/r\/WvYQdJnuYQz.css","crossOrigin":1}},"ixData":{"arrow-right:white:small":{"sprited":true,"spriteMapCssClass":"sp_PXcJGAbOOru","spriteCssClass":"sx_a3b1af"}},"js":["JJEZP","9P9WR","UoEp8","ykxUX","4vv8\/","6Nu+i","KWz6u"]});}, "onPageletArrive first_response")();</script> <code class="hidden_elem" id="u_0_4"><!-- <div class="_51_u fixed_elem" role="banner"><div class="_51_v"><div class="clearfix"><div class="lfloat _ohe"><div class="_6a _6e _5loj"><div class="_5lol"><a href="/"><i style="width:20px;height:20px" class="_5md6 img sp_qHL5LmbJo_R sx_5026e3"></i></a></div></div><div class="_6a _6e _5loj"><div class="_5lol"><a href="/"><div class="_6a"><div class="_6a _6b" style="height:22px"></div><div class="_6a _6b"><span class="_5md5 _50f4 _50f7">Developers</span></div></div></a></div></div><div class="_5lom"></div><div class="_5lon"></div><div class="_6a _6e _5loj _56ey"><div class="_5lol"><a class="_5md9" href="/apps/"><div class="_6a"><div class="_6a _6b" style="height:22px"></div><div class="_6a _6b"><span class="_5md5 _50f4 _50f7">My Apps</span></div></div></a><div class="_56e_"><div class="_56f1"><a href="https://www.facebook.com/login/?next=%2Fdocs%2Fios%2Flike-button">Log In</a></div></div></div></div><div class="_6a _6e _5loj _56ey"><div class="_5lol"><a class="_5md9" href="/products/"><div class="_6a"><div class="_6a _6b" style="height:22px"></div><div class="_6a _6b"><span class="_5md5 _50f4 _50f7">Products</span></div></div></a><div class="_56e_"><div class="_56f1"><div class="clearfix"><div class="_4bl7"><span class="_56f2">Products</span><ul><a href="/products/ads/">Ads for Apps</a><a href="/products/analytics/">Analytics for Apps</a><a href="/products/anonymous-login/">Anonymous Login</a><a href="/products/app-links/">App Links</a><a href="/products/app-monetization/">App Monetization</a><a href="/products/audience-network/">Audience Network</a><a href="/products/games/">Games</a><a href="/products/login/">Login</a><a href="/products/messenger/">Messenger</a><a href="/products/parse/">Parse</a><a href="/products/sharing/">Sharing</a><a href="/products/social-plugins/">Social Plugins</a></ul></div><div class="_4bl7 _3-9d"><span class="_56f2">More</span><ul><a href="http://l.facebook.com/l.php?u=http%3A%2F%2Fatlassolutions.com%2F&h=6AQEoAv9N&s=1" target="_blank" rel="nofollow" onmouseover="LinkshimAsyncLink.swap(this, "http:\\/\\/atlassolutions.com\\/");" onclick="LinkshimAsyncLink.swap(this, "http:\\/\\/l.facebook.com\\/l.php?u=http\\u00253A\\u00252F\\u00252Fatlassolutions.com\\u00252F&h=6AQEoAv9N&s=1");">Atlas</a><a href="/products/fb-start/">FbStart</a><a href="http://l.facebook.com/l.php?u=http%3A%2F%2Finstagram.com%2Fdeveloper%2F&h=zAQG1OTut&s=1" target="_blank" rel="nofollow" onmouseover="LinkshimAsyncLink.swap(this, "http:\\/\\/instagram.com\\/developer\\/");" onclick="LinkshimAsyncLink.swap(this, "http:\\/\\/l.facebook.com\\/l.php?u=http\\u00253A\\u00252F\\u00252Finstagram.com\\u00252Fdeveloper\\u00252F&h=zAQG1OTut&s=1");">Instagram</a><a href="/products/app-monetization/liverail/">LiveRail</a><a href="https://www.facebook.com/l.php?u=https%3A%2F%2Fdeveloper.oculus.com%2F&h=QAQGi81Jq&s=1" target="_blank" rel="nofollow" onmouseover="LinkshimAsyncLink.swap(this, "https:\\/\\/developer.oculus.com\\/");" onclick="LinkshimAsyncLink.swap(this, "https:\\/\\/www.facebook.com\\/l.php?u=https\\u00253A\\u00252F\\u00252Fdeveloper.oculus.com\\u00252F&h=QAQGi81Jq&s=1");">Oculus</a><a href="https://code.facebook.com/projects/">Open Source</a><a href="https://www.facebook.com/l.php?u=https%3A%2F%2Fwit.ai%2F&h=MAQFgAXyj&s=1" target="_blank" rel="nofollow" onmouseover="LinkshimAsyncLink.swap(this, "https:\\/\\/wit.ai\\/");" onclick="LinkshimAsyncLink.swap(this, "https:\\/\\/www.facebook.com\\/l.php?u=https\\u00253A\\u00252F\\u00252Fwit.ai\\u00252F&h=MAQFgAXyj&s=1");">Wit.ai</a></ul></div></div></div></div></div></div><div class="_6a _6e _5loj _5lok _56ey"><div class="_5lol"><a class="_5md9" href="/docs/"><div class="_6a"><div class="_6a _6b" style="height:22px"></div><div class="_6a _6b"><span class="_5md5 _50f4 _50f7">Docs</span></div></div></a><div class="_56e_"><div class="_56f1"><div class="clearfix"><div class="_4bl7"><span class="_56f2">Product Docs</span><ul><li><a href="/docs/ads-for-apps">Ads for Apps</a></li><li><a href="/docs/ads-for-websites">Ads for Websites</a></li><li><a href="/docs/app-events">App Events</a></li><li><a href="/docs/app-invites">App Invites</a></li><li><a href="/docs/applinks">App Links</a></li><li><a href="/docs/analytics">Analytics for Apps</a></li><li><a href="/docs/atlas-apis">Atlas API</a></li><li><a href="/docs/audience-network">Audience Network</a></li><li><a href="/docs/games">Games</a></li><li><a href="/docs/platforminsights">Insights</a></li><li><a href="/docs/internet-org">Internet.org</a></li><li><a href="/docs/facebook-login">Login</a></li><li><a href="/docs/marketing-apis">Marketing API</a></li><li><a href="/docs/messenger">Messenger</a></li><li><a href="/docs/payments">Payments for Games</a></li><li><a href="/docs/sharing">Sharing</a></li><li><a href="/docs/plugins">Social Plugins</a></li></ul></div><div class="_4bl7 _3-9d"><span class="_56f2">APIs and SDKs</span><ul><li><a href="/docs/graph-api">Graph API</a></li><li><a href="/docs/ios">iOS SDK</a></li><li><a href="/docs/android">Android SDK</a></li><li><a href="/docs/javascript">JavaScript SDK</a></li><li><a href="/docs/reference/php">PHP SDK</a></li><li><a href="/docs/unity">Unity SDK</a></li><li><a href="/docs/apis-and-sdks/#third-party-sdks">Other SDKs</a></li></ul><span class="_56f2 _3-8y">Our Platform</span><ul><li><a href="/docs/apps/">App Development</a></li><li><a href="/docs/apps/review/">App Review</a></li><li><a href="/policy/">Platform Policy</a></li></ul></div></div></div></div></div></div><div class="_6a _6e _5loj _56ey"><div class="_5lol"><a class="_5md9" href="/tools-and-support/"><div class="_6a"><div class="_6a _6b" style="height:22px"></div><div class="_6a _6b"><span class="_5md5 _50f4 _50f7">Tools & Support</span></div></div></a><div class="_56e_"><div class="_56f1"><div class="clearfix"><div class="_4bl7"><span class="_56f2">Tools</span><ul><li><a href="/tools/explorer/145634995501895/">Graph API Explorer</a></li><li><a href="https://www.facebook.com/insights">App Insights</a></li><li><a href="/tools/object-browser">Object Browser</a></li><li><a href="https://www.facebook.com/ads/manage">Ads Manager</a></li><li><a href="/tools/debug/">URL Debugger</a></li><li><a href="/tools/accesstoken/">Access Token Tool</a></li><li><a href="/tools/javascript-console/">JS SDK Console</a></li><li><a href="/tools/app-ads-helper/">App Ads Helper</a></li></ul></div><div class="_4bl7 _3-9d"><span class="_56f2">Support</span><ul><li><a href="/bugs/trending/">Bugs</a></li><li><a href="/status/dashboard/">Platform Status</a></li></ul><span class="_56f2 _3-8y">Community</span><ul><li><a href="https://www.facebook.com/groups/fbdevelopers">Developer Group</a></li><li><a href="https://www.facebook.com/groups/pmdcommunity/">Marketing Developers Group</a></li><li><a href="http://l.facebook.com/l.php?u=http%3A%2F%2Fstackoverflow.com%2Fquestions%2Ftagged%2Ffacebook&h=iAQFdCr-w&s=1" target="_blank" rel="nofollow" onmouseover="LinkshimAsyncLink.swap(this, "http:\\/\\/stackoverflow.com\\/questions\\/tagged\\/facebook");" onclick="LinkshimAsyncLink.swap(this, "http:\\/\\/l.facebook.com\\/l.php?u=http\\u00253A\\u00252F\\u00252Fstackoverflow.com\\u00252Fquestions\\u00252Ftagged\\u00252Ffacebook&h=iAQFdCr-w&s=1");">On StackOverflow</a></li><li><a href="https://www.facebook.com/l.php?u=https%3A%2F%2Fwww.youtube.com%2Fuser%2Ffacebookdevelopers&h=gAQGzDz6C&s=1" target="_blank" rel="nofollow" onmouseover="LinkshimAsyncLink.swap(this, "https:\\/\\/www.youtube.com\\/user\\/facebookdevelopers");" onclick="LinkshimAsyncLink.swap(this, "https:\\/\\/www.facebook.com\\/l.php?u=https\\u00253A\\u00252F\\u00252Fwww.youtube.com\\u00252Fuser\\u00252Ffacebookdevelopers&h=gAQGzDz6C&s=1");">On YouTube</a></li></ul></div></div></div></div></div></div><div class="_6a _6e _5loj _56ey"><div class="_5lol"><a class="_5md9" href="/blog/"><div class="_6a"><div class="_6a _6b" style="height:22px"></div><div class="_6a _6b"><span class="_5md5 _50f4 _50f7">News</span></div></div></a></div></div></div><div class="_5loo _42ef"><div class="_4-u2 _57mb _5j-9 _4-u8"><form action="#" method="get" role="search" onsubmit="return window.Event && Event.__inlineSubmit && Event.__inlineSubmit(this,event)" id="u_0_2"><label class="_55r3 focus_target _5j-a" id="u_0_3"><i class="_55r5 img sp_qHL5LmbJo_R sx_b1b5c7"></i><input type="text" class="inputtext _55r1 _5j-b _55r4 _55r2" name="query" placeholder="Search in docs" id="u_0_1" aria-label="Search in docs" /></label></form></div><div class="_6a _6e _5loj _5ph2"><div class="_5lol"><a href="https://www.facebook.com/login/?next=%2Fdocs%2Fios%2Flike-button"><div class="_6a"><div class="_6a _6b" style="height:22px"></div><div class="_6a _6b"><span class="_5md5 _50f4 _50f7">Log In</span></div></div></a></div></div></div></div></div></div> --></code> <script>bigPipe.beforePageletArrive("devsite_header")</script> <script>require("TimeSlice").guard(function() {bigPipe.onPageletArrive({"content":{"devsite_header":{"container_id":"u_0_4"}},"jsmods":{"instances":[["m_0_6",["UIForm","m_0_3"],[{"__m":"m_0_3"},null,false,null,[]],2],["m_0_2",["DevsiteBingSearchForm","m_0_6"],[{"__m":"m_0_6"}],1]],"elements":[["m_0_4","u_0_1",2],["m_0_3","u_0_2",2],["m_0_5","u_0_3",2]],"require":[["AsyncRequestNectarLogging"],["m_0_2"],["Focus","relocate",["m_0_4","m_0_5"],[{"__m":"m_0_4"},{"__m":"m_0_5"}]],["FocusListener"],["FlipDirectionOnKeypress"]]},"css":["tWGF7","VDgFq"],"js":["JJEZP","6Nu+i","KWz6u"],"id":"devsite_header","phase":1});}, "onPageletArrive devsite_header")();</script> <code class="hidden_elem" id="u_0_1g"><!-- <div><div class="_4-u2 _57mb _5auv _4-u8" id="u_0_5"><div class="_4-u3 _5rva _5g9b"><div class="clearfix"><span class="lfloat _ohe _c24 _50f4 _50f7">Product Docs</span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_6" href="/docs/ads-for-apps"><span class="_50f4">Ads for Apps</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_6"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_7" href="/docs/ads-for-websites"><span class="_50f4">Ads for Websites</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_7"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_8" href="/docs/app-events"><span class="_50f4">App Events</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_8"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_9" href="/docs/app-invites"><span class="_50f4">App Invites</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_9"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_a" href="/docs/applinks"><span class="_50f4">App Links</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_a"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_b" href="/docs/analytics"><span class="_50f4">Analytics for Apps</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_b"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_c" href="/docs/atlas-apis"><span class="_50f4">Atlas API</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_c"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_d" href="/docs/audience-network"><span class="_50f4">Audience Network</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_d"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_e" href="/docs/games"><span class="_50f4">Games</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_e"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_f" href="/docs/platforminsights"><span class="_50f4">Insights</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_f"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_g" href="/docs/internet-org"><span class="_50f4">Internet.org</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_g"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_h" href="/docs/facebook-login"><span class="_50f4">Login</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_h"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_i" href="/docs/marketing-apis"><span class="_50f4">Marketing API</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_i"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_j" href="/docs/messenger"><span class="_50f4">Messenger</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_j"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_k" href="/docs/payments"><span class="_50f4">Payments for Games</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_k"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_l" href="/docs/sharing"><span class="_50f4">Sharing</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_l"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_m" href="/docs/plugins"><span class="_50f4">Social Plugins</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_m"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_n" href="/docs/apps"><span class="_50f4">App Development</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_n"></span></div></div></div><div class="_4-u2 _57mb _5auv _4-u8" id="u_0_o"><div class="_4-u3 _5rva _5g9b"><div class="clearfix"><span class="lfloat _ohe _c24 _50f4 _50f7">APIs and SDKs</span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_p" href="/docs/graph-api"><span class="_50f4">Graph API</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_p"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8 _57d8"><a class="primarySelected" id="u_0_q" href="/docs/ios"><span class="_50f4">iOS SDK</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_q"></span></div><ul><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_r" href="/docs/ios/getting-started"><span class="_50f4">Getting Started</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_r"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_s" href="/docs/ios/graph"><span class="_50f4">Calling the Graph API</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_s"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_t" href="/docs/facebook-login/ios/permissions"><span class="_50f4">Permissions</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_t"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_u" href="/docs/ios/errors"><span class="_50f4">Errors</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_u"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_v" href="/docs/ios/troubleshooting"><span class="_50f4">FAQ & Troubleshooting</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_v"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_w" href="/docs/ios/change-log-4.x"><span class="_50f4">Changelog</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_w"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_x" href="/docs/ios/upgrading-4.x"><span class="_50f4">Upgrade Guide</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_x"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_y" href="/docs/reference/ios"><span class="_50f4">Reference</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_y"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_z" href="/docs/ios/downloads"><span class="_50f4">Downloads</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_z"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8 _57d8"><a class="primarySelected" id="u_0_10" href="/docs/ios/deprecated"><span class="_50f4">Deprecated</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_10"></span></div><ul><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_11" href="/docs/ios/upgrading-3.x"><span class="_50f4">Upgrade Guide (3.x)</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_11"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_12" href="/docs/ios/change-log-3.x"><span class="_50f4">Changelog (v3.x)</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_12"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_13" href="/docs/reference/iossdk"><span class="_50f4">Reference (v2.x)</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_13"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_14" href="/docs/reference/iossdk/authentication"><span class="_50f4">Authentication (2.x)</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_14"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_15" href="/docs/reference/iossdk/dialog"><span class="_50f4">Dialog (v2.x)</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_15"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_16" href="/docs/reference/iossdk/request"><span class="_50f4">Request (v2.x)</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_16"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_17" href="/docs/reference/iossdk/FBDialogDelegate"><span class="_50f4">FBDialogDelegate (v2.x)</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_17"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_18" href="/docs/reference/iossdk/FBRequestDelegate"><span class="_50f4">FBRequestDelegate (v2.x)</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_18"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_19" href="/docs/reference/iossdk/FBSessionDelegate"><span class="_50f4">FBSessionDelegate (v2.x)</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_19"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a class="selected" id="u_0_1a" href="/docs/ios/like-button"><span class="_50f4">Like Button (3.x)</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_1a"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_1b" href="/docs/facebook-login/ios/token-cache"><span class="_50f4">Token Cache (3.x)</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_1b"></span></div></div></ul></div></ul></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_1c" href="/docs/android"><span class="_50f4">Android SDK</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_1c"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_1d" href="/docs/javascript"><span class="_50f4">JavaScript SDK</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_1d"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_1e" href="/docs/reference/php"><span class="_50f4">PHP SDK</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_1e"></span></div></div><div class="_4-u3 _3a8w noPadding _5auw _my8"><a id="u_0_1f" href="/docs/unity"><span class="_50f4">Unity SDK</span></a><div class="_5qog"><span class="img _55ym _55yn _55yo _5b73 hidden_elem" aria-label="Loading..." aria-busy="1" id="spinner-u_0_1f"></span></div></div></div></div> --></code> <script>bigPipe.beforePageletArrive("documentation_primary_nav_pagelet")</script> <script>require("TimeSlice").guard(function() {bigPipe.onPageletArrive({"content":{"documentation_primary_nav_pagelet":{"container_id":"u_0_1g"}},"jsmods":{"instances":[["m_0_8",["DevsiteNavigationCard","m_0_7"],[{"__m":"m_0_7"}],1],["m_0_a",["DevsiteNavigationCard","m_0_9"],[{"__m":"m_0_9"}],1]],"elements":[["m_0_7","u_0_5",2],["m_0_9","u_0_o",2]],"require":[["m_0_8"],["m_0_a"]]},"css":["VDgFq","tWGF7"],"js":["9P9WR","ykxUX"],"id":"documentation_primary_nav_pagelet","phase":1});}, "onPageletArrive documentation_primary_nav_pagelet")();</script> <code class="hidden_elem" id="u_0_1k"><!-- <div><div class="_4-u2 _57mb _3fw6 _4-u8"><div class="_4-u3 _588p"><div class="_604"><h1>Like Button for Your iOS App</h1><div class="mvl"><div class="_57yz _57z1"><div class="_57y-"><p>This document refers to the iOS SDK v3. For implementing the Like button using the new iOS SDK v4 please read the new <a href="/docs/sharing/ios">Sharing for iOS</a> docs.</p></div></div></div><div class="_57yz _57z0 _596z"><div class="_57y-"><div><div class="_50f4 _50f7">Related Topics</div><ul><li><p><a href="/docs/plugins/like-button">Like Button for Web</a></p></li><li><p><a href="/docs/android/like-button">Like Button for Android</a></p></li></ul></div></div></div><p>The Like button is the quickest way for people to share content with their friends. A single click on the Like button will 'like' pieces of content from your app and share them on Facebook.</p> <p>The Like button can be used to like a Facebook Page or any Open Graph object and can be referenced by URL or ID. Here's what the code looks like:</p> <pre class="prettyprint"><code>FBLikeControl *like = [[FBLikeControl alloc] init]; like.objectID = @"<a href="http://l.facebook.com/l.php?u=http%3A%2F%2Fshareitexampleapp.parseapp.com%2Fphoto1%2F&h=JAQGxrV6_&s=1" target="_blank" rel="nofollow" onmouseover="LinkshimAsyncLink.swap(this, "http:\\/\\/shareitexampleapp.parseapp.com\\/photo1\\/");" onclick="LinkshimAsyncLink.swap(this, "http:\\/\\/l.facebook.com\\/l.php?u=http\\u00253A\\u00252F\\u00252Fshareitexampleapp.parseapp.com\\u00252Fphoto1\\u00252F&h=JAQGxrV6_&s=1");">http://shareitexampleapp.parseapp.com/photo1/</a>"; [self addSubview:like]; </code></pre> <p>This is what the button looks like in your app:</p><img class="_5aqp _5aqr img" src="https://fbcdn-dragon-a.akamaihd.net/hphotos-ak-xap1/t39.2178-6/10333103_550837025036436_336915638_n.png" alt="" /><img class="_5aqp _5aqr img" src="https://fbcdn-dragon-a.akamaihd.net/hphotos-ak-xfp1/t39.2178-6/10333112_569034399879543_284067076_n.png" alt="" /></div></div></div><div class="_4-u2 _57mb _3fw6 _4-u8"><div class="_4-u3 _588p"><div><h2 id="review">Review</h2> <p>Please note that you will have to <strong>submit your integration of the Like button for review via the Status and Review tab in the App Dashboard</strong> (see <a href="/docs/apps/review#submitlogin">the Review Guidelines</a>). You will also need to abide by our <a href="/policy">Platform Policy 4.14</a>: if you use the Like button on iOS or Android, don鈥檛 collect or use any information from it.</p></div></div></div><div class="_4-u2 _57mb _3fw6 _4-u8"><div class="_4-u3 _588p"><div><h2 id="prerequisites">Prerequisites</h2> <p>Before you can use the Like button, you will need:</p> <ul><li>Your environment set up.</li> <li>A Facebook app properly configured and linked to your iOS app.</li> <li>The Facebook SDK added to your project.</li> <li>Your Facebook app ID and display name added to your app's .plist file.</li> </ul><p>If you haven't done this and need help doing so, you can follow the <a href="/docs/ios/getting-started">iOS getting started guide</a>.</p></div></div></div><div class="_4-u2 _57mb _3fw6 _4-u8"><div class="_4-u3 _588p"><div class="_604"><h2 id="using">Using the Like Button</h2> <p>Add the Like button to your view like you would any other UIView.</p><img class="_5aqp _5aqr img" src="https://fbcdn-dragon-a.akamaihd.net/hphotos-ak-xap1/t39.2178-6/10173500_1398474223767412_616498772_n.png" alt="" width="50%" /><p>When the Like button is tapped, it will fast-app-switch to the Facebook app and present the Like Dialog. If the Facebook app is not installed, it will use Safari instead. Here is what the Like Dialog looks like:</p><img class="_5aqp _5aqr img" src="https://fbcdn-dragon-a.akamaihd.net/hphotos-ak-xaf1/t39.2178-6/851537_1401798023434189_1515677431_n.png" alt="" width="50%" /><p>When one of the buttons is tapped, it will return to your app and update the state of the like button along with the like count and/or sentence, if present. The BETA banner will be present until your app has been approved to use the Native Like Button feature.</p><img class="_5aqp _5aqr img" src="https://fbcdn-dragon-a.akamaihd.net/hphotos-ak-xfp1/t39.2178-6/10333117_231278250400483_1950242915_n.png" alt="" width="50%" /><p>If the person has provided <code>publish_actions</code> permission to your app, the Like button will update immediately and perform the action from your app using the <a href="/docs/reference/opengraph/action-type/og.likes">og.likes API for OG objects</a>. Page likes will always use the Like Dialog.</p> <p>If you do not use <a href="/docs/facebook-login/ios">Facebook Login</a> the Like button will always open the Like Dialog to perform the like and confirm the action.</p></div></div></div><div class="_4-u2 _57mb _3fw6 _4-u8"><div class="_4-u3 _588p"><div><h2 id="settings">Settings</h2> <p>Please see the documentation for the <a href="/docs/reference/ios/current/class/FBLikeControl"><code>FBLikeControl</code></a> for more information on what you can set on the control.</p></div></div></div></div><div class="_4-u2 _57mb _p9d _4-u8"><div class="_4-u3 _3a8w _5xk2"><form rel="async" action="/x/ajax/feedback/" method="post" onsubmit="return window.Event && Event.__inlineSubmit && Event.__inlineSubmit(this,event)" id="u_0_1j"><input type="hidden" name="lsd" value="AVp1bER5" autocomplete="off" /><input type="hidden" autocomplete="off" name="path" value="/docs/ios/like-button" /><input type="hidden" autocomplete="off" name="id" value="845111018837101" /><input type="hidden" autocomplete="off" name="revision_id" value="1063408447007356" /><div class="clearfix"><div class="lfloat _ohe"><span class="_c24 _50f4">Was this document helpful?</span><div class="_6a plm"><div class="_6a _6b" style="height:20px"></div><div class="_6a _6b"><div class="uiInputLabel clearfix inlineBlock"><label class="_55sh mls uiInputLabelInput"><input type="radio" name="yes" id="u_0_1h" /><span></span></label><label for="u_0_1h" class="uiInputLabelLabel">Yes</label></div><div class="uiInputLabel clearfix inlineBlock"><label class="_55sh mls uiInputLabelInput"><input type="radio" name="no" id="u_0_1i" /><span></span></label><label for="u_0_1i" class="uiInputLabelLabel">No</label></div></div></div></div><div class="_6a rfloat _ohf"><div class="_6a _6b" style="height:20px"></div><div class="_6a _6b"><span class="img _55ym _55yn _55yo _5tqs" aria-label="Loading..." aria-busy="1"></span></div></div></div></form></div></div><div id="developer_documentation_toolbar" data-referrer="developer_documentation_toolbar"></div><script type="text/javascript">(function(){window.__vitals={VitalsContextSensor:{context:'load',enter:new Date().getTime()}};})();</script> --></code> <script>bigPipe.beforePageletArrive("documentation_body_pagelet")</script> <script>require("TimeSlice").guard(function() {bigPipe.onPageletArrive({"content":{"documentation_body_pagelet":{"container_id":"u_0_1k"}},"jsmods":{"instances":[["m_0_c",["UIForm","m_0_b","FormSubmitOnChange"],[{"__m":"m_0_b"},null,false,null,[{"__m":"FormSubmitOnChange"}]],1]],"elements":[["m_0_b","u_0_1j",2]],"require":[["DevsiteURLChanger","changeURL",[],["\/docs\/ios\/like-button"]],["DocumentTitle","set",[],["Like Button for iOS Apps (v3)",false]],["Vitals","monitor",[],[727108007337487]],["prettify","init",[],[]],["prettify","init",[],[]],["prettify","init",[],[]],["prettify","init",[],[]],["prettify","init",[],[]],["m_0_c"]]},"css":["VDgFq","tWGF7"],"resource_map":{"pwRS3":{"type":"js","src":"\/\/web.archive.org\/web\/20150506190948\/https:\/\/connect.facebook.net\/es_LA\/sdk\/xfbml.adpreview.js#version=v2.3"},"i3n0m":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/www.google-analytics.com\/analytics.js"},"0Qz\/x":{"type":"js","src":"https:\/\/web.archive.org\/web\/20150506190948\/https:\/\/fbstatic-a.akamaihd.net\/rsrc.php\/v2\/y4\/r\/28IOSiOrxxa.js","crossOrigin":1}},"js":["pwRS3","i3n0m","JJEZP","ykxUX","0Qz\/x","KWz6u","6Nu+i"],"onload":["(function(i,r){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();})(window,'ga');ga('create',\"UA-2499035-1\",{\"cookieDomain\":\"developers.facebook.com\"});","FB.init({\"appId\":114545895322903,\"xfbml\":true,\"version\":\"v2.3\",\"status\":false})"],"onafterload":["ga('send','pageview',{\"page\":\"\\\/docs\\\/ios\\\/like-button\"});"],"id":"documentation_body_pagelet","phase":1});}, "onPageletArrive documentation_body_pagelet")();</script> <code class="hidden_elem" id="u_0_1n"><!-- <div><ul class="__d" id="u_0_1l"><li class="_ga _5a" data-target="review" id="u_0_1m"><a class="_gc" href="#" rel="scrubber" role="button">Review</a></li><li class="_ga" data-target="prerequisites"><a class="_gc" href="#" rel="scrubber" role="button">Prerequisites</a></li><li class="_ga" data-target="using"><a class="_gc" href="#" rel="scrubber" role="button">Using the Like Button</a></li><li class="_ga" data-target="settings"><a class="_gc" href="#" rel="scrubber" role="button">Settings</a></li></ul></div> --></code> <script>bigPipe.beforePageletArrive("documentation_auxiliary_nav_pagelet")</script> <script>require("TimeSlice").guard(function() {bigPipe.onPageletArrive({"content":{"documentation_auxiliary_nav_pagelet":{"container_id":"u_0_1n"}},"jsmods":{"instances":[["m_0_f",["Scrubber","m_0_d","m_0_e","ScrubberMaintainAnchors","ScrubberUpdateOnScroll","ScrubberResizeRollups"],[{"__m":"m_0_d"},{"__m":"m_0_e"},[{"__m":"ScrubberMaintainAnchors"},{"__m":"ScrubberUpdateOnScroll"},{"__m":"ScrubberResizeRollups"}],null,null],1]],"elements":[["m_0_d","u_0_1l",2],["m_0_e","u_0_1m",2]],"require":[["m_0_f"]]},"css":["tWGF7"],"js":["JJEZP","6Nu+i","KWz6u","ykxUX","9P9WR"],"id":"documentation_auxiliary_nav_pagelet","phase":1});}, "onPageletArrive documentation_auxiliary_nav_pagelet")();</script> <code class="hidden_elem" id="u_0_1o"><!-- <div class="_5uw3"></div> --></code> <script>bigPipe.beforePageletArrive("devsite_dock")</script> <script>require("TimeSlice").guard(function() {bigPipe.onPageletArrive({"content":{"devsite_dock":{"container_id":"u_0_1o"}},"css":["tWGF7"],"id":"devsite_dock","phase":1});}, "onPageletArrive devsite_dock")();</script> <code class="hidden_elem" id="u_0_1t"><!-- <div class="_4-u2 _54vr _54vs _4-u8"><div class="rfloat"><div class="_6a _6b"><div class="_6a _6b uiPopover" id="u_0_1q"><a class="_42ft _42fr _4jy0 _55pi _5vto _55_p _2agf _p _4jy3 _517h _51sy" role="button" style="max-width:200px;" aria-haspopup="true" aria-expanded="false" id="u_0_1r" data-href="#"><span class="_55pe" style="max-width:186px;">English (US)</span><i class="_3-99 img sp_qHL5LmbJo_R sx_8fa22f"></i></a></div><input type="hidden" autocomplete="off" name="" id="u_0_1s" /></div></div></div> --></code> <script>bigPipe.beforePageletArrive("developer_documentation_toolbar")</script> <script>require("TimeSlice").guard(function() {bigPipe.onPageletArrive({"display_dependency":["documentation_body_pagelet"],"is_last":true,"is_second_to_last_phase":true,"content":{"developer_documentation_toolbar":{"container_id":"u_0_1t"}},"jsmods":{"instances":[["m_0_i",["Selector","m_0_j","m_0_g","m_0_k","m_0_h"],[{"__m":"m_0_j"},{"__m":"m_0_g"},{"__m":"m_0_k"},{"__m":"m_0_h"},{"behaviors":[]}],1],["m_0_j",["PopoverMenu","m_0_l","m_0_g","m_0_k","PopoverMenuContextMinWidth"],[{"__m":"m_0_l"},{"__m":"m_0_g"},{"__m":"m_0_k"},[{"__m":"PopoverMenuContextMinWidth"}]],3],["m_0_l",["Popover","m_0_m","m_0_g","ContextualLayerAsyncRelative","ContextualLayerAutoFlip","ContextualLayerPositionClassOnContext"],[{"__m":"m_0_m"},{"__m":"m_0_g"},[{"__m":"ContextualLayerAsyncRelative"},{"__m":"ContextualLayerAutoFlip"},{"__m":"ContextualLayerPositionClassOnContext"}],{"alignh":"left","disabled":true,"position":"below"}],3],["m_0_k",["SelectableMenu","MenuSelectableItem","m_0_n","XUIMenuWithSquareCorner","XUIMenuTheme"],[[{"selected":true,"ctor":{"__m":"MenuSelectableItem"},"markup":{"__m":"m_0_n"},"label":"English (US)","title":"","className":null}],{"id":"u_0_1p","behaviors":[{"__m":"XUIMenuWithSquareCorner"}],"className":"_57di","theme":{"__m":"XUIMenuTheme"}}],5]],"markup":[["m_0_n",{"__html":"English (US)"},2]],"elements":[["m_0_m","u_0_1q",2],["m_0_g","u_0_1r",6],["m_0_h","u_0_1s",2]],"require":[["m_0_i"],["m_0_k"],["m_0_j"],["m_0_l"]]},"css":["tWGF7"],"js":["6Nu+i","KWz6u","JJEZP","ykxUX","9P9WR"],"displayJS":["KWz6u"],"id":"developer_documentation_toolbar","phase":1,"tti_phase":1});}, "onPageletArrive developer_documentation_toolbar")();</script><script>bigPipe.beforePageletArrive("")</script> <script>require("TimeSlice").guard(function() {bigPipe.onPageletArrive({"id":"","phase":2,"jsmods":{},"is_last":true,"css":["tWGF7","VDgFq"],"js":["JJEZP","9P9WR","UoEp8","ykxUX","4vv8\/","6Nu+i","KWz6u"],"the_end":true});}, "onPageletArrive ")();</script> </body></html><!-- FILE ARCHIVED ON 19:09:48 May 06, 2015 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 07:23:18 Nov 30, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). --> <!-- playback timings (ms): captures_list: 0.654 exclusion.robots: 0.03 exclusion.robots.policy: 0.017 esindex: 0.011 cdx.remote: 21.178 LoadShardBlock: 106.502 (3) PetaboxLoader3.datanode: 77.03 (4) PetaboxLoader3.resolve: 121.0 (2) load_resource: 96.234 -->