脸书

Facebook plugin: init not called with valid version

匿名 (未验证) 提交于 2019-12-03 10:03:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I use phonegap build to create debug version for android. I want to use facebook plugin. In Config.xml I have <gap:plugin name="com.phonegap.plugins.facebookconnect" version="0.4.0"> <param name="APP_ID" value="509210995889450" /> <param name="APP_NAME" value="Food share" /> </gap:plugin> I use the file facebookConnectPlugin.js which is from the official plugin Github for facebook. calling: facebookConnectPlugin.login([], success, fail); I get: Error: init not called with valid version Error at Object. ( http://connect.facebook.net/en_US/sdk

Facebook android login

匿名 (未验证) 提交于 2019-12-03 09:52:54
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: In below code i am using facebook provided chrome custom tab feature, facebook login screen is opening in both chrome (if device having chrome browser) or else simple webview and also in facebook app (if device having app) but after granting the general permission graphapi not providing any data even after async call i'm not getting what i am doing wrong in this please help if possible extra info :- This is calling inside a fragment, facebook login screen is opening in all three way just the callback is not working till now i am not able to

Facebook page&#039;s posts feed

匿名 (未验证) 提交于 2019-12-03 09:19:38
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Does anyone know how to fetch a facebook page's rss-feed nowadays? When I log in as a page and go to http://www.facebook.com/feeds/notifications.php?id=xx&viewer=xx&key=xx&format=rss20 , I get an empty feed. Is there a corresponding "page" feed that contains the pages posts? Thanks, /M 回答1: The IDs in the URL below are the IDs you need to find to create your rss feed. http://www.new.facebook.com/feeds/notifications.php?id= YOUR_FACEBOOK_ID &viewer= YOUR_FACEBOOK_ID &key= YOUR_INTERNAL_KEY &format=rss20 There are 3 numbers in this URL. The

How to use Facebook PHP SDK with Zend Framework 2

匿名 (未验证) 提交于 2019-12-03 09:18:39
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I want to be able to use the Facebook PHP SDK with the new ZEND Framework 2 platform. How to do it? Zend Framework 2 is quite different as previous version ZF1. When I try the standard PHP in the main application controller IndexController': require_once("facebook.php"); class IndexController extends AbstractActionController { public $facebook; public function __construct() { $this->facebook = new Facebook(array( 'appId' => 'appId', 'secret' => 'secret_key' )); } /* ... */ } I get following error: Fatal error: Cannot redeclare class Facebook

Updating facebook comments plugin link without reloading page

匿名 (未验证) 提交于 2019-12-03 09:05:37
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: This displays the comments from that http://domain.com/some/abc <fb:comments href="http://domain.com/some/abc" num_posts="20" width="500"></fb:comments> <div id="fb-root"></div> <script type="text/javascript"> (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) {return;} js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=1234567890"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script> If the user changes a value in the

React Native fbsdk in iOS

匿名 (未验证) 提交于 2019-12-03 09:05:37
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: When I added fbsdk in my project, I got errors like - Warning: Native component for "RCTFBLikeView" does not exist 2016-06-21 22:27:38.898 [warn][tid:com.facebook.react.JavaScript] Warning: Native component for "RCTFBLoginButton" does not exist 2016-06-21 22:27:38.899 [warn][tid:com.facebook.react.JavaScript] Warning: Native component for "RCTFBSendButton" does not exist 2016-06-21 22:27:38.900 [warn][tid:com.facebook.react.JavaScript] Warning: Native component for "RCTFBShareButton" does not exist To solve this I went through this pod

Facebook registration page - Invalid &#039;client_id&#039; when not logged into Facebook

匿名 (未验证) 提交于 2019-12-03 08:59:04
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have made a Facebook registration form that works with custom fields and functions as I expect, EXCEPT when the user is not logged into facebook when they first visit the form. In this situation the form does not render on screen and the following error appears: Unable to load the registration form for this ID. You may have previously blocked this app on Facebook. Go to your Facebook privacy settings to unblock this app. (Error: Invalid 'client_id'.) Now I know already that this has been discussed on the site but the solutions offered

Facebook deauthorization callback is not called

匿名 (未验证) 提交于 2019-12-03 08:59:04
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have an FB app, when I enter as the deauthorization callback URL my development box address, the box is pinged with this request after app removal on FB: POST /facebook/deauthorize HTTP/1.1 Host: bashman.org Accept: */* Content-Length: 261 Content-Type: application/x-www-form-urlencoded Connection: close fb_sig_uninstall=1&fb_sig_locale=de_DE&fb_sig_in_new_facebook=1&fb_sig_time=1322732591.2685&fb_sig_added=0&fb_sig_user=1476224117&fb_sig_country=de&fb_sig_api_key=e39a74891fd234bb2575bab75e8f&fb_sig_app_id=32352348363&fb_sig

Trouble validating a Facebook token

匿名 (未验证) 提交于 2019-12-03 08:54:24
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I'm building a small Facebook login library for OS X. This isn't because there are no SDKs out there, but because I'd like something native to Cocoa that can encapsulate the login process. I'v successfully requested an access token from the Facebook login URL. I use this string format to perform the login: https : //www.facebook.com/dialog/oauth?client_id=%@&redirect_uri=%@&response_type=token For the redirect_uri field I pass https://www.facebook.com/connect/login_success.html as per the Facebook documentation. I take whatever

How to change language in Facebook login page?

匿名 (未验证) 提交于 2019-12-03 08:52:47
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: In Facebook API, there is a Hackbook project for a demo. When I try to login to facebook via this Hackbook project, the login page is always not in English. URL of the login page is http://m.facebook.com/dialog/oauth?xxxxxxx (it has more parametors .... ) so, I visited Facebook site(www.facebook.com) in Safari and changed the language to English, but the language in the login page from Hackbook project is not changed. How can I change it to English? or is there the auto language detection in Facebook? Any help would be appreciated! 回答1: