Facebook之Social Plugins
Facebook之Social Plugins
什麼是Social Plugin
簡單地說:你想在你網站的某個網頁上顯示一個按鈕、一小塊html程式碼等來連結Facebook應用,那麼只要引入facebook的API和一段fbml就可以達到目的。
瀏覽器中執行看看結果 :
引用
Social plugins
Social plugins enable you to provide engaging social experiences to your users with just a line of HTML. Because the plugins are served by Facebook, the content is personalized to the viewer whether or not they have signed into your site.
Social plugins enable you to provide engaging social experiences to your users with just a line of HTML. Because the plugins are served by Facebook, the content is personalized to the viewer whether or not they have signed into your site.
簡單地說:你想在你網站的某個網頁上顯示一個按鈕、一小塊html程式碼等來連結Facebook應用,那麼只要引入facebook的API和一段fbml就可以達到目的。
- <html>
- <body>
- <div id="fb-root"></div>
- </body>
- </html>
- <script>
- // 116344281725102 是一個facebook應用的app id.
- window.fbAsyncInit = function() {
- FB.init({appId: '116344281725102', status: true, cookie: true,
- xfbml: true});
- };
- (function() {
- var e = document.createElement('script');
- e.async = true;
- //e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
- e.src = 'http://connect.facebook.net/en_US/all.js';
- document.getElementById('fb-root').appendChild(e);
- }());
- </script>
- <fb:login-button></fb:login-button>
相關文章
- 「Facebook」面向Social Game的Smart Phone現狀分析GAM
- Mvvmcross Plugins - Cirrious.MvvmCross.Plugins.MessengerMVVMROSPluginMessenger
- We Are Social:資料顯示印度Facebook使用者中男性使用者佔比達76%
- Jquery PluginsjQueryPlugin
- 複習webpack4之使用plugins便捷打包WebPlugin
- Flutter實戰之瞭解外掛(Plugins)功能篇FlutterPlugin
- SpringBoot文件之Build Tool Plugins的閱讀筆記Spring BootUIPlugin筆記
- We Are Social:數字2024
- Go 1.8 的 Plugins 使用GoPlugin
- gulp 和 gulp plugins 使用Plugin
- vite plugins小試牛刀VitePlugin
- vue-social-sharing社交分享元件Vue元件
- Cheap GHD Hair Straightener social relationshipsAI
- webpack學習(四)配置pluginsWebPlugin
- webpack3--plugins大用處WebPlugin
- Unity Plugins的使用方法UnityPlugin
- 【漢化】Yanfly Engine Plugins - TemplatePlugin
- Innodb plugins 的安裝(一)Plugin
- Innodb plugins 的安裝(二)Plugin
- Innodb plugins 的安裝(三)Plugin
- Spring Security系列之Spring Social社交登入的繫結與解綁(十五)Spring
- 網際網路之戰:Facebook PK GoogleGo
- Android studio 安裝PluginsAndroidPlugin
- Tensorboard: ValueError: Duplicate plugins for name projectorORBErrorPluginProject
- 關於Unity Plugins資料夾UnityPlugin
- IOS(swift)-社交媒體 ·使用social.Framework分享iOSSwiftFramework
- lombok版本 與 lombok plugins版本問題LombokPlugin
- mysql uninstall plugins 詳細說明MySqlPlugin
- Social Times:社交網路資料研究資訊圖
- mysql-proxy does not work with server/client authentication pluginsMySqlServerclientPlugin
- Social Point:未來所有新遊都將跨平臺
- Facebook 分析
- CentOS原始碼安裝、配置Nagios(core)+PluginsCentOS原始碼iOSPlugin
- 使用Percona Monitoring Plugins模板監控MySQLPluginMySql
- Unity實現子目錄下的Plugins載入UnityPlugin
- acrobat 7.0x 中文版plugins精簡BATPlugin
- 探索Semantic Plugins:開啟大模型的技能之門Plugin大模型
- 論文解讀(DeepWalk)《DeepWalk: Online Learning of Social Representations》