脸书

iOS Facebook library login

匿名 (未验证) 提交于 2019-12-03 02:31:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I just downloaded the facebook library for iOS at this URL https://github.com/facebook/facebook-ios-sdk I managed to run the sample app just fine, however, when I click on the login button, it actually opens the login screen in a browser. How can I prevent this? Thanks, Tee 回答1: Figured it out. In Facebook.m, change safariAuth:YES to safariAuth:NO 文章来源: iOS Facebook library login

CORS - Facebook - Passport

匿名 (未验证) 提交于 2019-12-03 02:30:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to implement OAUTH login via Facebook in my Nodejs/Angular/Express/Passport app but i'm struggeling with it. I still get the CORS error: XMLHttpRequest has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin ' https://www.xxxxxx.net ' is therefore not allowed access. Although i already added to my EXPRESS ROUTER: router.all('/*', function(req, res, next) { res.header('Access-Control-Allow-Origin', '*'); res.header('Access-Control-Allow-Methods', 'GET,PUT,POST,DELETE');

Facebook Single sign on not working in windows phone 8.1 app running on windows 10 devices

匿名 (未验证) 提交于 2019-12-03 02:30:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have referred this link to implement facebook login with facebook app. It works fine. After login from facebook app it redirects to my app. But when i run this app on windows 10 device facebook app(both latest beta version and latest facebook ) doesnt redirect to my app. Instead facebook beta opens its timeline and facebook app crashes. I think fbconnect://authorize? is not supported in windows 10 facebook app? But i have got some links in satackoverflow( link1 ) which says it works fine. But only difference with those links is they have

Facebook Open Graph og:video tag for YouTube videos

匿名 (未验证) 提交于 2019-12-03 02:30:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I have a question that was initially asked here: Open graph og:video Meta Tags content in 2010, but the answer no longer works. I'm trying to show a YouTube video in Facebook (and have it play inside Facebook) when a link is shared. The following og:video tag on the page doesn't work (it never really did): <meta property = "og:video" content = "https://www.youtube.com/watch?v=ZH4YSF-i5dY" /> The solution proposed here https://stackoverflow.com/a/17811187/188740 in 2013 worked really well until recently. It was to change the og

Getting facebook access token in c#

匿名 (未验证) 提交于 2019-12-03 02:29:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: var fb = new FacebookClient(); dynamic result = fb.Get("oauth/access_token", new { client_id = "MyAppId", client_secret = "MyAppSecret", redirect_uri = "http://www.facebook.com/connect/login_success.html", code = "code" }); fb.AccessToken = result.access_token; I use this piece of code to get facebook access token. When I try to login with any account, there is no problem. However, if I try to post something on that account's wall, I get an error which is; (OAuthException-#200)(#200) The user hasn't authorized the application to perform this

Insert data to Meteor from Facebook API

匿名 (未验证) 提交于 2019-12-03 02:27:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm following the example given here on pulling data from FB Graph. So far I've managed to pull data from FB however I can't figure out how to insert it into MongoDB. Right now the data from Facebook renders as follows: {"data": [ { "picture": "https://photo.jpg", "id": "1234", "created_time": "2013-01-01T00:00:00+0000" }, { "picture": "https://photo.jpg", "id": "12345", "created_time": "2013-01-01T00:00:00+0000" }] } I created a collection call Photos and I've tried to insert the data with Photos.inser(data) . Here is my server code:

Deep linking to Facebook Messenger

匿名 (未验证) 提交于 2019-12-03 02:23:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: From a lot of searching, I found that using fb-messenger://user-thread/ID can be used to deep link to Messenger and open the existing thread with the passed in FB ID or start a new thread if not existent. It pops over to Messenger and opens a thread, but the thread is with Facebook User and doesn't actually send. See image below. Clicking Facebook User in the header goes to a detail view with the correct user's image and name. How do I make this work correctly? 回答1: As WizKid (FB Employee) said here : ...there is no documented way to

Is there an API to retrieve Facebook recent activity?

匿名 (未验证) 提交于 2019-12-03 02:20:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I know there's a Graph api url for getting the recent wall feeds: https://graph.facebook.com/me/feed?access_token=... But how do I get the Recent Activity? Is there any way? FQL (not Graph API) can work too. I don't really care which way I get it. I'm trying to get the RECENT ACTIVITY, which appears as part of the wall. It has same IDs like the standard wall entries have, but they aren't returned in the /me/feed request, because they are treated differently on facebook, and I'm trying to find out a simple way to get them just like /me/feed

How to login in website using facebook id

匿名 (未验证) 提交于 2019-12-03 02:16:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have made a website on which a user has to log in using a username and password. I have seen these in so many website, we can connect through facebook account. And I want to add the same to my web site. How is it possible,using php sdk or the javascript sdk? 回答1: The team at Facebook has spent considerable time documenting this, I would suggest you start there: http://developers.facebook.com/docs/guides/web#login http://developers.facebook.com/docs/authentication/ 回答2: If possible, I would do like dracolytch writes here and create a level

FacebookSdk.sdkInitialize (Context) is deprecated

匿名 (未验证) 提交于 2019-12-03 02:16:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm using facebook-android-sdk-4.19.0 in Android Studio and I followed the Facebook quick start guide at https://developers.facebook.com/docs/android/getting-started (Click on the Quick Start button to sign in with your own facebook account). In the guide, it's told to copy&paste the following code in the snippet to track app logs import com.facebook.FacebookSdk; import com.facebook.appevents.AppEventsLogger; public class MyApplication extends Application { @Override public void onCreate() { super.onCreate(); FacebookSdk.sdkInitialize