{"id":2026,"date":"2025-07-18T05:14:04","date_gmt":"2025-07-17T20:14:04","guid":{"rendered":"https:\/\/vqc.joe.mybluehost.me\/website_dd668647\/php%ec%99%80-facebook-api%eb%a5%bc-%ec%82%ac%ec%9a%a9%ed%95%9c-%ed%97%ac%eb%a1%9c-%ec%9b%94%eb%93%9c\/"},"modified":"2025-08-12T11:16:59","modified_gmt":"2025-08-12T02:16:59","slug":"php%ec%99%80-facebook-api%eb%a5%bc-%ec%82%ac%ec%9a%a9%ed%95%9c-%ed%97%ac%eb%a1%9c-%ec%9b%94%eb%93%9c","status":"publish","type":"post","link":"https:\/\/paraisolinux.com\/ko\/php%ec%99%80-facebook-api%eb%a5%bc-%ec%82%ac%ec%9a%a9%ed%95%9c-%ed%97%ac%eb%a1%9c-%ec%9b%94%eb%93%9c\/","title":{"rendered":"PHP\uc640 Facebook API\ub97c \uc0ac\uc6a9\ud55c \ud5ec\ub85c \uc6d4\ub4dc"},"content":{"rendered":"<p>\uc694\uc998 \uc800\ub294 <strong>\ud398\uc774\uc2a4\ubd81\uacfc \ud2b8\uc704\ud130 API\uc5d0<\/strong> \uad00\uc2ec\uc774 \ub9ce\uc2b5\ub2c8\ub2e4. \uadf8\ub798\uc11c \uc815\ubcf4\ub97c \ucc3e\uc544\ubcf4\uae30\ub85c \uacb0\uc2ec\ud588\uace0 \ud56d\uc0c1 \uadf8\ub807\ub4ef\uc774 \uc5ec\ub7ec\ubd84\uacfc \uc815\ubcf4\ub97c \uacf5\uc720\ud569\ub2c8\ub2e4. <\/p>\n<p>\uc624\ub298\uc740 <strong>PHP\ub97c \uc0ac\uc6a9\ud558\uc5ec \uccab \ubc88\uc9f8 \ud398\uc774\uc2a4\ubd81 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744<\/strong> \ub9cc\ub4dc\ub294 \ubc29\ubc95\uc744 \ubcf4\uc5ec\ub4dc\ub9ac\uace0\uc790 \ud569\ub2c8\ub2e4. &#8216;Hello world&#8217;\uc640 \uc774\ub984\ub9cc \ud45c\uc2dc\ub418\uae30 \ub54c\ubb38\uc5d0 \uc804\ud600 \uc720\uc6a9\ud55c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc740 \uc544\ub2d9\ub2c8\ub2e4. \ud558\uc9c0\ub9cc \uba3c\uc800 \uba87 \uac00\uc9c0\ub97c \uc774\ud574\ud574\uc57c \ud569\ub2c8\ub2e4.  <\/p>\n<p>Facebook\uc740 \ud0c0\uc0ac\uac00 \ub9cc\ub4e0 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ud638\uc2a4\ud305\ud558\uace0 \uc774\ub4e4\uacfc \ube44\uc988\ub2c8\uc2a4\ub97c \ud560 \uc218 \uc788\ub3c4\ub85d \ud568\uc73c\ub85c\uc368 \uc778\uae30\ub97c \uc5bb\uc5c8\uc2b5\ub2c8\ub2e4. \uadf8\ub807\ub2e4\uace0 \ud574\uc11c Facebook\uc774 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4 \uc218 \uc788\ub294 \ub514\uc2a4\ud06c \uacf5\uac04\uc774\ub098 \ub370\uc774\ud130\ubca0\uc774\uc2a4\ub97c \uc81c\uacf5\ud55c\ub2e4\ub294 \uc758\ubbf8\ub294 \uc544\ub2d9\ub2c8\ub2e4. \ubaa8\ub4e0 \uc791\uc5c5\uc740 \ud68c\uc6d0\ub2d8\uc758 \uc11c\ubc84 \ub610\ub294 \ud638\uc2a4\ud305\uc5d0\uc11c \uc218\ud589\ud574\uc57c \ud569\ub2c8\ub2e4. Facebook\uc740 \ud68c\uc6d0\ub2d8\uc758 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uacfc \uc218\ubc31\ub9cc \uba85\uc758 \ub124\ud2b8\uc6cc\ud06c \uc0ac\uc6a9\uc790 \ud504\ub85c\ud544 \ub370\uc774\ud130 \uac04\uc758 \uc5f0\uacb0\ub9cc \uc81c\uacf5\ud560 \ubfd0\uc785\ub2c8\ub2e4.   <\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-medium wp-image-3395\" title=\"facebookdevwallpaperjl1\" src=\"https:\/\/web.archive.org\/web\/20130706025505im_\/https:\/\/paraisolinux.com\/wp-content\/uploads\/2010\/04\/facebookdevwallpaperjl11-300x187.jpg\" alt=\"PHP\uc640 Facebook API\ub97c \uc0ac\uc6a9\ud55c \ud5ec\ub85c \uc6d4\ub4dc\" width=\"300\" height=\"187\"><\/p>\n<p>\uac1c\ubc1c\uc790\uac00 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ub9ac\uc18c\uc2a4\ub294 3\uac00\uc9c0 \uce74\ud14c\uace0\ub9ac\ub85c \ubd84\ub958\ub429\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>API<\/strong>: GET \ub610\ub294 POST \uba54\uc2dc\uc9c0\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc0ac\uc6a9\uc790\uc758 \ud504\ub85c\ud544 \ub370\uc774\ud130, \uce5c\uad6c, \uc0ac\uc9c4 \ubc0f \uc774\ubca4\ud2b8\uc5d0 \uc561\uc138\uc2a4\ud560 \uc218 \uc788\ub294 REST \uae30\ubc18 \uc778\ud130\ud398\uc774\uc2a4\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>\ucffc\ub9ac(FQL, &#8220;Facebook \ucffc\ub9ac \uc5b8\uc5b4&#8221;)<\/strong>: API\uc640 \ub3d9\uc77c\ud55c \ub370\uc774\ud130\uc5d0 \uc561\uc138\uc2a4\ud558\ub294 \ub370 \uc0ac\uc6a9\ub418\ub294 SQL\uacfc \uc720\uc0ac\ud55c \ucffc\ub9ac \uc5b8\uc5b4\uc774\uc9c0\ub9cc \ub354 \ubcf5\uc7a1\ud55c \ucffc\ub9ac\ub97c \uc218\ud589\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>\ub808\uc774\uc544\uc6c3(FBML, &#8220;Facebook \ub9c8\ud06c\uc5c5 \uc5b8\uc5b4&#8221;)<\/strong>: HTML\uacfc \uc720\uc0ac\ud55c \ub9c8\ud06c\uc5c5 \uc5b8\uc5b4\ub85c, \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 Facebook \uc0ac\uc6a9\uc790 \uacbd\ud5d8\uc5d0 \ud1b5\ud569\ud558\ub294 \ub370 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 HTML\uacfc \uc778\ud130\ub9ac\ube59\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. FBML\uc744 \uc0ac\uc6a9\ud558\uba74 \ud504\ub85c\ud544, \ud504\ub85c\ud544 \uc561\uc158, \uce94\ubc84\uc2a4 \ubc0f \ud53c\ub4dc\uc640 \uac19\uc740 \ub124\ud2b8\uc6cc\ud06c\uc758 \ub2e4\uc591\ud55c \ubd80\ubd84\uc5d0 \uc561\uc138\uc2a4\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uc5b8\uc5b4\uc5d0\ub294 AJAX \ubc0f \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \uc9c0\uc6d0\ub3c4 \ud3ec\ud568\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4.  <\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>Facebook \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc740 \uc644\ubcbd\ud55c \uc0ac\uc6a9\uc790 \uacbd\ud5d8\uc744 \uc81c\uacf5\ud558\uae30 \uc704\ud574 \ubcf5\uc7a1\ud55c \uad6c\uc870\ub97c \uac00\uc9c0\uace0 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>\uc81c\ud488 \ub514\ub809\ud1a0\ub9ac:<\/strong> \uc0ac\uc6a9\uc790\uac00 Facebook \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub514\ub809\ud1a0\ub9ac\ub97c \ud0d0\uc0c9\ud560 \ub54c \uac01 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0 \ub300\ud574 \uc774\ub984, \uc774\ubbf8\uc9c0, \uac04\ub2e8\ud55c \uc124\uba85\uc774 \ud3ec\ud568\ub41c \uc791\uc740 \uc139\uc158\uc774 \ud45c\uc2dc\ub429\ub2c8\ub2e4.<\/li>\n<li><strong>\uc815\ubcf4:<\/strong> \uc774 \ud398\uc774\uc9c0\uc5d0\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0 \ub300\ud55c \uc77c\ubc18\uc801\uc778 \uc815\ubcf4\uac00 \ud45c\uc2dc\ub429\ub2c8\ub2e4. \uc0ac\uc6a9\uc790\uac00 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc124\uce58\ud558\ub3c4\ub85d \uc720\ub3c4\ud574\uc57c \ud569\ub2c8\ub2e4. <\/li>\n<li>\uc67c\ucabd \ud0d0\uc0c9<strong>:<\/strong> \uc67c\ucabd \ud0d0\uc0c9 \ucc3d\uc785\ub2c8\ub2e4. \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc740 \uc774 \ud328\ub110\uc5d0 \uc544\uc774\ucf58\uacfc \uc774\ub984\uc744 \uc9c0\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. <\/li>\n<li><strong>\uce94\ubc84\uc2a4 \ud398\uc774\uc9c0:<\/strong> \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uba54\uc778 \ud398\uc774\uc9c0\uc785\ub2c8\ub2e4. <strong>\ud648:<\/strong> \uc774 \ud398\uc774\uc9c0\ub294 \uc67c\ucabd\uc758 \ud0d0\uc0c9 \ud328\ub110\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc561\uc138\uc2a4\ud560 \uc218 \uc788\uc73c\uba70 \uc77c\ubc18\uc801\uc73c\ub85c \uc0ac\uc6a9\uc790\uc758 \uce5c\uad6c\uc5d0 \ub300\ud55c \uc815\ubcf4\ub97c \ud45c\uc2dc\ud569\ub2c8\ub2e4. <strong>\uc0ac\uc6a9\uc790 \ub300\uc2dc\ubcf4\ub4dc:<\/strong> \uc0ac\uc6a9\uc790\uac00 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc790\uc2e0\uc758 \ub370\uc774\ud130\ub97c \uad00\ub9ac\ud558\uace0 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc774 \uc790\uc2e0\uc758 \uac1c\uc778 \ub370\uc774\ud130\uc5d0 \uc561\uc138\uc2a4\ud558\ub294 \ubc29\ubc95\uc744 \uacb0\uc815\ud558\ub294 \ud398\uc774\uc9c0\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>\ud504\ub85c\ud544:<\/strong> \uc0ac\uc6a9\uc790 \uc2e0\uc6d0\uc758 \uc628\ub77c\uc778 \ud45c\ud604\uc785\ub2c8\ub2e4.<strong>\ud504\ub85c\ud544 \uc0c1\uc790:<\/strong> \uc0ac\uc6a9\uc790\uc758 \ucd5c\uadfc \uc791\uc5c5\uc5d0 \ub300\ud55c \uc5c5\ub370\uc774\ud2b8\ub41c \uc815\ubcf4\ub97c \ud45c\uc2dc\ud569\ub2c8\ub2e4<strong>.\ud504\ub85c\ud544 \uc791\uc5c5 \ub9c1\ud06c:<\/strong> \ud504\ub85c\ud544\uc758 \uc0ac\uc6a9\uc790 \uc0ac\uc9c4 \uc544\ub798\uc5d0 \ub9c1\ud06c\ub97c \ucd94\uac00\ud558\uc5ec \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc791\uc5c5\uc744 \ud638\ucd9c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. <\/li>\n<li><strong>\uac1c\uc778\uc815\ubcf4 \uc124\uc815:<\/strong> \uc560\ud50c\ub9ac\ucf00\uc774\uc158\ubcc4 \ud504\ub85c\ud544 \ub370\uc774\ud130\uc758 \uac1c\uc778\uc815\ubcf4 \ubcf4\ud638 \uc218\uc900\uc744 \uc815\uc758\ud558\ub294 \ub370 \uc0ac\uc6a9\ub429\ub2c8\ub2e4.<\/li>\n<li><strong>\ub274\uc2a4 \ud53c\ub4dc:<\/strong> \uc774\ub984\uc5d0\uc11c \uc54c \uc218 \uc788\ub4ef\uc774 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc774 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uc0ac\uc6a9\uc790\uc5d0 \ub300\ud55c \uc815\ubcf4\ub97c &#8216;\uac8c\uc2dc&#8217;\ud560 \uc218 \uc788\ub294 \ub274\uc2a4 \ud53c\ub4dc\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>\uc54c\ub9bc:<\/strong> \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc740 \uc774\uba54\uc77c\uc744 \ud1b5\ud574 \uc0ac\uc6a9\uc790\uc5d0\uac8c \uc54c\ub9bc\uc744 \ubcf4\ub0bc \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>\uba54\uc2dc\uc9c0 \ucca8\ubd80\ud30c\uc77c:<\/strong> \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uba54\uc2dc\uc9c0 \uc791\uc131 \ucc3d\uc5d0 \ub098\ud0c0\ub098\ub294 \ucca8\ubd80\ud30c\uc77c\uc744 \ud3ec\ud568\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>\uc694\uccad:<\/strong> \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc740 \ud648 \ud398\uc774\uc9c0 \uc67c\ucabd \uc0c1\ub2e8\uc5d0 \ud45c\uc2dc\ub418\ub294 \uc694\uccad\uc744 \ub9cc\ub4e4 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc694\uccad\uc740 \uc77c\ubc18\uc801\uc73c\ub85c \uce5c\uad6c\uac00 \ud2b9\uc815 \uc791\uc5c5\uc744 \uc218\ud589\ud558\ub3c4\ub85d \uc694\uccad\ud558\uc5ec \uc2dc\uc791\ub429\ub2c8\ub2e4. <\/li>\n<\/ul>\n<p>\uc704\uc758 \ubaa8\ub4e0 \ub0b4\uc6a9\uc744 <a href=\"https:\/\/web.archive.org\/web\/20130706025505\/http:\/\/www.maestrosdelweb.com\/editorial\/primeros-pasos-para-generar-aplicaciones-de-facebook\/\" rel=\"nofollow noopener\" target=\"_blank\">\ub9c8\uc5d0\uc2a4\ud2b8\ub85c\ub378\uc6f9\uc5d0\uc11c<\/a> \ubcf5\uc0ac\ud588\uc2b5\ub2c8\ub2e4. \uc0ac\uc2e4 \uccab \ubc88\uc9f8 \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uc744 \ub9cc\ub4e4\uae30 \uc704\ud574 \uc6b0\ub9ac\ub294 \uadf8 \ubaa8\ub4e0 \uac83\uc5d0 \uadf8\ub2e4\uc9c0 \uad00\uc2ec\uc774 \uc5c6\uc2b5\ub2c8\ub2e4. <\/p>\n<h3>\uc2dc\uc791\ud558\uae30<\/h3>\n<p>\uc774 10\ub2e8\uacc4\ub294 \ub354 \uc774\uc0c1 \uc874\uc7ac\ud558\uc9c0 \uc54a\ub294 \ub2e4\ub978 \ube14\ub85c\uadf8\ub97c \uae30\ubc18\uc73c\ub85c \ud588\ub2e4\ub294 \uc810\uc744 \ubd84\uba85\ud788 \ubc1d\ud600\ub461\ub2c8\ub2e4.<\/p>\n<p><strong>1\ub2e8\uacc4<\/strong>: \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4\ub824\uba74 Facebook \uc0ac\uc6a9\uc790\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4.<\/p>\n<p><strong>2\ub2e8\uacc4<\/strong>: \uac1c\ubc1c\uc790 \ud398\uc774\uc9c0\ub85c \uc774\ub3d9\ud558\uba74 \uc624\ub978\ucabd\uc5d0 &#8216;\uc0c8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\uc131\ud558\uae30&#8217;\ub77c\ub294 \ubc84\ud2bc \ub610\ub294 \ub9c1\ud06c\uac00 \ud45c\uc2dc\ub429\ub2c8\ub2e4.<\/p>\n<p><strong>3\ub2e8\uacc4<\/strong>: \ud45c\uc2dc\ub418\ub294 \ud398\uc774\uc9c0\uc5d0\uc11c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uc774\ub984(\uc608: &#8216;Greeter&#8217;)\uc744 \uc785\ub825\ud558\uace0 \uc774\uc6a9\uc57d\uad00\uc5d0 \ub3d9\uc758\ud569\ub2c8\ub2e4.<\/p>\n<p><strong>4\ub2e8\uacc4<\/strong>: \ub2e4\uc74c \ucc3d\uc5d0\uc11c \uc67c\ucabd\uc5d0 \uc0ac\uc774\ub4dc \ud0ed\uc774 \ud45c\uc2dc\ub429\ub2c8\ub2e4.<\/p>\n<p><strong>&#8216;\uae30\ubcf8<\/strong>&#8216;\uc774\ub77c\uace0 \ud45c\uc2dc\ub41c \ud56d\ubaa9\uc5d0\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uc774\ub984, \uc544\uc774\ucf58, \ub85c\uace0, \uc124\uba85, \uc5b8\uc5b4 \ub4f1 \uac00\uc7a5 \ubd84\uba85\ud55c \ud544\ub4dc\ub97c \uc785\ub825\ud569\ub2c8\ub2e4. \uccab \ubc88\uc9f8 \uc791\uc740 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uacbd\uc6b0 \uc774\ub984\ub9cc \uc785\ub825\ud558\ub294 \uac83\uc73c\ub85c \ucda9\ubd84\ud569\ub2c8\ub2e4. \uac19\uc740 \ud0ed\uc5d0\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 ID, API \ud0a4 \ubc0f \ube44\ubc00 \ud0a4\ub3c4 \uc788\uc73c\ubbc0\ub85c \ub098\uc911\uc5d0 \uc0ac\uc6a9\ud560 \uac83\uc774\ubbc0\ub85c \uc5b4\ub518\uac00\uc5d0 \ubcf5\uc0ac\ud574 \ub450\uc138\uc694.  <\/p>\n<p><strong>\uc778\uc99d<\/strong> \ud0ed\uc5d0\uc11c <strong>\uc0ac\uc6a9\uc790\uc5d0 \ub300\ud55c \uc124\uce58 \uac00\ub2a5<\/strong> \uc635\uc158\uc744 \uc120\ud0dd\ud569\ub2c8\ub2e4.<\/p>\n<p>\uadf8\ub9ac\uace0 <strong>\uce94\ubc84\uc2a4<\/strong> \ud0ed\uc758 &#8216;\uce94\ubc84\uc2a4 \ud398\uc774\uc9c0\uc758 \uc6f9 \uc8fc\uc18c(URL)&#8217;\uc5d0 &#8216;\ud398\uc774\uc2a4\ubd81 \uc8fc\uc18c'(\uc608: http:\/\/apps.facebook.com\/saludador)\ub97c \uc785\ub825\ud558\uace0 &#8216;\uce94\ubc84\uc2a4 \ucf5c\ubc31 URL&#8217;\uc5d0 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc774 \uc800\uc7a5\ub41c \uc8fc\uc18c(\uc774 \uacbd\uc6b0 http:\/\/tudominio.com\/saludador)\ub97c \uc785\ub825\ud569\ub2c8\ub2e4.<\/p>\n<p>\ubaa8\ub4e0 \ubcc0\uacbd \uc0ac\ud56d\uc744 \uc800\uc7a5\ud569\ub2c8\ub2e4.<\/p>\n<p><strong>5\ub2e8\uacc4<\/strong>: \uc774\uc81c \ud544\uc694\ud55c \ud30c\uc77c\uacfc \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc11c\ubc84\uc5d0 \uc5c5\ub85c\ub4dc\ud574\uc57c \ud569\ub2c8\ub2e4. \uba3c\uc800 \ud398\uc774\uc2a4\ubd81 API\uc640 \uc0c1\ud638 \uc791\uc6a9\ud560 \uc218 \uc788\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \ub2e4\uc6b4\ub85c\ub4dc\ud574\uc57c \ud569\ub2c8\ub2e4. <\/p>\n<p><strong>6\ub2e8\uacc4<\/strong>: \uc555\ucd95 \ud30c\uc77c \uc548\uc5d0\ub294 \ud638\uc2a4\ud305\uc5d0 \uc5c5\ub85c\ub4dc\ud574\uc57c \ud558\ub294 2\uac1c\uc758 \ud3f4\ub354(php \ubc0f \ud48b\ud504\ub9b0\ud2b8)\uac00 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p>7\ub2e8\uacc4: \uc77c\ubd80 \ub370\uc774\ud130\uac00 \ud3ec\ud568\ub41c facebook_config.php\ub77c\ub294 \ud30c\uc77c\uc744 \ub9cc\ub4ed\ub2c8\ub2e4:<\/p>\n<div>\n<div id=\"highlighter_842048\" class=\"syntaxhighlighter php\">\n<div class=\"toolbar\"><a class=\"toolbar_item command_help help\" href=\"https:\/\/web.archive.org\/web\/20130706025505\/https:\/\/paraisolinux.com\/hola-mundo-con-php-y-el-api-de-facebook\/#\">?<\/a><\/div>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<div class=\"line number2 index1 alt1\">2<\/div>\n<div class=\"line number3 index2 alt2\">3<\/div>\n<div class=\"line number4 index3 alt1\">4<\/div>\n<div class=\"line number5 index4 alt2\">5<\/div>\n<div class=\"line number6 index5 alt1\">6<\/div>\n<div class=\"line number7 index6 alt2\">7<\/div>\n<div class=\"line number8 index7 alt1\">8<\/div>\n<div class=\"line number9 index8 alt2\">9<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"php plain\">&lt;!--?php <\/code><code class=\"php keyword\">require_once<\/code> <code class=\"php string\">'php\/facebook.php'<\/code><code class=\"php plain\">; <\/code><code class=\"php comments\">\/\/ codigo(KEY) que identifica a nuestra aplicaci\u00f3n y es utilizadas en cada llamada a Facebook $appapikey = 'colocar aqui su API KEY'; \/\/ llave privada para autenticar la aplicaci\u00f3n en el servidor de Facebook $appsecret = 'colocar aqui su SECRET'; \/\/ Crear una instancia del objeto Facebook $facebook = new Facebook($appapikey, $appsecret); \/\/ Obtener el id del usuario que este utilizando la aplicaci\u00f3n $id_usuario = $facebook---&gt;require_login();<\/code><\/div>\n<div class=\"line number2 index1 alt1\"><\/div>\n<div class=\"line number3 index2 alt2\"><code class=\"php variable\">$appcallbackurl<\/code> <code class=\"php plain\">= <\/code><code class=\"php string\">'http:\/\/tudominio.com\/saludador'<\/code><code class=\"php plain\">;<\/code><\/div>\n<div class=\"line number4 index3 alt1\"><\/div>\n<div class=\"line number5 index4 alt2\"><code class=\"php comments\">\/\/catch the exception that gets thrown if the cookie has an invalid session_key in it<\/code><\/div>\n<div class=\"line number6 index5 alt1\"><code class=\"php spaces\">  <\/code><code class=\"php keyword\">if<\/code> <code class=\"php plain\">(!<\/code><code class=\"php variable\">$facebook<\/code><code class=\"php plain\">-&gt;api_client-&gt;users_isAppUser()) {<\/code><\/div>\n<div class=\"line number7 index6 alt2\"><code class=\"php spaces\">    <\/code><code class=\"php variable\">$facebook<\/code><code class=\"php plain\">-&gt;redirect(<\/code><code class=\"php variable\">$facebook<\/code><code class=\"php plain\">-&gt;get_add_url());<\/code><\/div>\n<div class=\"line number8 index7 alt1\"><code class=\"php spaces\">  <\/code><code class=\"php plain\">}<\/code><\/div>\n<div class=\"line number9 index8 alt2\"><code class=\"php plain\">?&gt;<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\uc790\uc2e0\uc758 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub370\uc774\ud130\ub85c \ud30c\uc77c\uc744 \uc791\uc131\ud574\uc57c \ud569\ub2c8\ub2e4.<\/p>\n<p><strong>8\ub2e8\uacc4<\/strong>: facebook_config.php\ub97c \uc774\uc804 \ud3f4\ub354\uc640 \uac19\uc740 \uc704\uce58\uc5d0 \uc5c5\ub85c\ub4dc\ud569\ub2c8\ub2e4.<\/p>\n<p><strong>9\ub2e8\uacc4<\/strong>: \uc778\uc0ac\ub9d0 \uba54\uc2dc\uc9c0\ub97c \ud45c\uc2dc\ud558\uace0 \uc0c1\ub300\ubc29\uc758 \uc774\ub984\uc744 \ud45c\uc2dc\ud558\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uc790\uccb4\ub97c \ud3ec\ud568\ud558\ub294 index.php \ud30c\uc77c\uc744 \ub9cc\ub4ed\ub2c8\ub2e4:<\/p>\n<div>\n<div id=\"highlighter_101466\" class=\"syntaxhighlighter php\">\n<div class=\"toolbar\"><a class=\"toolbar_item command_help help\" href=\"https:\/\/web.archive.org\/web\/20130706025505\/https:\/\/paraisolinux.com\/hola-mundo-con-php-y-el-api-de-facebook\/#\">?<\/a><\/div>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<div class=\"line number2 index1 alt1\">2<\/div>\n<div class=\"line number3 index2 alt2\">3<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"php plain\">&lt;!--?php <\/code><code class=\"php comments\">\/\/ Llamar el archivo que contiene los parametros de configuraci\u00f3n y obtine el id del usuario require_once 'facebook_config.php'; ?--&gt;<\/code><\/div>\n<div class=\"line number2 index1 alt1\"><\/div>\n<div class=\"line number3 index2 alt2\"><code class=\"php plain\">Hola, Buen dia<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\uc5ec\uae30\uc5d0\uc11c \ubcfc \uc218 \uc788\ub4ef\uc774 FMBL\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ubcf4\ub294 \uc0ac\ub78c\uc758 \uc774\ub984\uc744 \uac00\uc838\uc624\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uadf8\ub9ac\uace0 useyou=&#8221;false&#8221; \ub9e4\uac1c \ubcc0\uc218\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc9c1\uc811 \uc5f4\uc5b4\ub3c4 &#8216;\uadc0\ud558&#8217;\ub77c\uace0 \ud45c\uc2dc\ub418\uc9c0 \uc54a\uace0 \uc0ac\uc6a9\uc790\uc758 \uc774\ub984\uc774 \ud45c\uc2dc\ub418\ub3c4\ub85d \ud569\ub2c8\ub2e4. <\/p>\n<p><strong>10\ub2e8\uacc4<\/strong>: \ub2e4\ub978 \ud30c\uc77c\uacfc \ub3d9\uc77c\ud55c \uc218\uc900\uc73c\ub85c \ud30c\uc77c\uc744 \uc5c5\ub85c\ub4dc\ud569\ub2c8\ub2e4.<\/p>\n<p>\uc774\uc81c 4\ub2e8\uacc4\uc5d0\uc11c \uc120\ud0dd\ud55c \uc8fc\uc18c\ub97c \uc785\ub825\ud558\uba74 \ub05d\uc785\ub2c8\ub2e4. \uc608: http:\/\/apps.facebook.com\/saludador \uc9e7\uc740 \uba54\uc2dc\uc9c0\uc640 \ud568\uaed8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc774 \uc0ac\uc6a9\uc790\ub97c \ub9de\uc774\ud558\ub294 \ubc29\uc2dd\uc744 \ud655\uc778\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. <\/p>\n<p>\ub9e4\uc6b0 \uac04\ub2e8\ud588\uace0 \uc5ec\uae30\uae4c\uc9c0 \uc77d\uc73c\uc168\ub2e4\uba74 \uc774\ubbf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uc81c\uc791\uc5d0 \ub300\ud574 \uc0dd\uac01\ud574 \ubcf4\uc168\uc744 \uac83\uc785\ub2c8\ub2e4. <span class=\"icon-emo-grin\"> \uac1c\uc778\uc801\uc73c\ub85c\ub3c4 \uc26c\uc6e0\uace0, \uc81c\uac00 \uc88b\uc544\ud558\ub294 <a href=\"https:\/\/web.archive.org\/web\/20130706025505\/https:\/\/paraisolinux.com\/category\/desarrollo\/kumbiaphp\/\">KumbiaPHP \ud504\ub808\uc784\uc6cc\ud06c\ub97c<\/a> \uc0ac\uc6a9\ud558\uc5ec \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4 \uc218 \uc788\ub2e4\ub294 \uc810\uc5d0\uc11c \ub098\ub9cc\uc758 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc800\uc7a5\ud560 \uc218 \uc788\ub2e4\ub294 \uc810\ub3c4 \uc88b\ub2e4\uace0 \uc0dd\uac01\ud569\ub2c8\ub2e4<\/span>.<\/p>\n<p><strong>\ubc1c\uc0dd\ud560 \uc218 \uc788\ub294 \uc624\ub958<\/strong><\/p>\n<ul>\n<li>\uc778\uc0ac\ub9d0 \uba54\uc2dc\uc9c0\ub9cc \ud45c\uc2dc\ub418\uace0 \uc774\ub984\uc774 \ud45c\uc2dc\ub418\uc9c0 \uc54a\ub294\ub2e4\uba74 \uce94\ubc84\uc2a4 \ud0ed\uc5d0\uc11c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uad6c\uc131\ud560 \ub54c \ub80c\ub354\ub9c1 \ubc29\ubc95\uc5d0\uc11c FBML\uc744 \uc120\ud0dd\ud574\uc57c \ud558\uae30 \ub54c\ubb38\uc785\ub2c8\ub2e4.<\/li>\n<li>&#8216;\uc5f4 \uc218 \uc5c6\uc74c&#8217; \ub610\ub294 \uc774\uc640 \uc720\uc0ac\ud55c PHP \uc624\ub958\uac00 \ubc1c\uc0dd\ud558\uba74 \ud30c\uc77c \ub610\ub294 \ud3f4\ub354\uc758 \uad8c\ud55c \ub54c\ubb38\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uad00\ub828 \ud30c\uc77c \ubc0f \ud3f4\ub354\uc5d0 \ub300\ud55c \uad8c\ud55c\uc744 755\ub85c \uc124\uc815\ud558\uc138\uc694. <\/li>\n<li>\uadf8\ub9ac\uace0 \ub2e4\uc74c\uacfc \uac19\uc740 \uba54\uc2dc\uc9c0\uac00 \ud45c\uc2dc\ub418\ub294 \uacbd\uc6b0: <strong>FBML \uc624\ub958(7\uc904): &#8220;fb:canvas&#8221; \uc544\ub798\uc5d0 \uc798\ubabb\ub41c \ud0dc\uadf8 &#8220;noscript&#8221;<\/strong> \uac00 \uc788\uc74c \ubb34\ub8cc \ud638\uc2a4\ud305\uc5d0 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc124\uce58\ud558\uc5ec \ucf54\ub4dc\uc5d0 \uc6d0\uce58 \uc54a\ub294 \ub0b4\uc6a9\uc744 \ub123\uc5c8\uae30 \ub54c\ubb38\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\uc694\uc998 \uc800\ub294 \ud398\uc774\uc2a4\ubd81\uacfc \ud2b8\uc704\ud130 API\uc5d0 \uad00\uc2ec\uc774 \ub9ce\uc2b5\ub2c8\ub2e4. \uadf8\ub798\uc11c \uc815\ubcf4\ub97c \ucc3e\uc544\ubcf4\uae30\ub85c \uacb0\uc2ec\ud588\uace0 \ud56d\uc0c1 \uadf8\ub807\ub4ef\uc774 \uc5ec\ub7ec\ubd84\uacfc \uc815\ubcf4\ub97c \uacf5\uc720\ud569\ub2c8\ub2e4. \uc624\ub298\uc740 PHP\ub97c \uc0ac\uc6a9\ud558\uc5ec \uccab \ubc88\uc9f8 \ud398\uc774\uc2a4\ubd81 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4dc\ub294 \ubc29\ubc95\uc744 \ubcf4\uc5ec\ub4dc\ub9ac\uace0\uc790 \ud569\ub2c8\ub2e4. &#8216;Hello world&#8217;\uc640 \uc774\ub984\ub9cc \ud45c\uc2dc\ub418\uae30 \ub54c\ubb38\uc5d0 \uc804\ud600 \uc720\uc6a9\ud55c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc740 \uc544\ub2d9\ub2c8\ub2e4. \ud558\uc9c0\ub9cc \uba3c\uc800 \uba87 \uac00\uc9c0\ub97c \uc774\ud574\ud574\uc57c \ud569\ub2c8\ub2e4. Facebook\uc740 \ud0c0\uc0ac\uac00 \ub9cc\ub4e0 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ud638\uc2a4\ud305\ud558\uace0 \uc774\ub4e4\uacfc \ube44\uc988\ub2c8\uc2a4\ub97c \ud560 \uc218 \uc788\ub3c4\ub85d \ud568\uc73c\ub85c\uc368 \uc778\uae30\ub97c \uc5bb\uc5c8\uc2b5\ub2c8\ub2e4. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"footnotes":""},"categories":[42],"tags":[],"class_list":["post-2026","post","type-post","status-publish","format-standard","hentry","category-42","entry"],"_links":{"self":[{"href":"https:\/\/paraisolinux.com\/ko\/wp-json\/wp\/v2\/posts\/2026","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/paraisolinux.com\/ko\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/paraisolinux.com\/ko\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/paraisolinux.com\/ko\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/paraisolinux.com\/ko\/wp-json\/wp\/v2\/comments?post=2026"}],"version-history":[{"count":1,"href":"https:\/\/paraisolinux.com\/ko\/wp-json\/wp\/v2\/posts\/2026\/revisions"}],"predecessor-version":[{"id":2027,"href":"https:\/\/paraisolinux.com\/ko\/wp-json\/wp\/v2\/posts\/2026\/revisions\/2027"}],"wp:attachment":[{"href":"https:\/\/paraisolinux.com\/ko\/wp-json\/wp\/v2\/media?parent=2026"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/paraisolinux.com\/ko\/wp-json\/wp\/v2\/categories?post=2026"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/paraisolinux.com\/ko\/wp-json\/wp\/v2\/tags?post=2026"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}