facebook-login

Facebook error: “(#100) Tried accessing nonexisting field (user_friends) on node type (User)”

[亡魂溺海] 提交于 2019-12-05 17:42:40
问题 I'm using MVC4 and try to integrate facebook-login. I've check the facebook scope list and it appears I use it correctly. Except the error when I try to get user_friends Here is the url I try to get: https://graph.facebook.com/me?fields=user_friends,email&access_token=<mytoken> I get this error: "{\"error\":{\"message\":\"(#100) Tried accessing nonexisting field (user_friends) on node type (User)\",\"type\":\"OAuthException\",\"code\":100,\"fbtrace_id\":\"Ahhh3PoddnL\"}}" If you must know, my

publish_actions permission error

谁说胖子不能爱 提交于 2019-12-05 17:18:22
I'm having a problem with publish_actions. I added publish_actions to Items, but got the error shown below: It looks like you haven't made any API requests to access content with the publish_actions permission in the last 30 days. Please let me know how to fix this. Are you in a situation of asking for the new "login review"? If so, I suspect (not sure) that Facebook checks that you, as the admin of the app, also uses the app and go through the relevant logic. I may be wrong, but see if it helps. Previous answers do help. But for those who struggled like me, here's the trick: You have to use

LoginButton asking for friends list permission, why?

余生颓废 提交于 2019-12-05 08:23:30
I am using the built in LoginButton widget in the facebook sdk, I haven't made any changes to it I just include it in my xml layout file and call setSessionStatusCallback nothing else. However, when I click the login button facebook says I am asking for both basic info AND the friends list. I do not want permission to view the users friends, and after looking though the source of LoginButton it seems like it shouldn't be asking either, its permissions String list is empty. Whats going on here? update: adding my code by request. final LoginButton facebook = (LoginButton) getView().findViewById

Facebook Login recommending to require HTTPS - How to Configure HTTP redirect URL for Facebook Login in ASP.NET MVC?

本秂侑毒 提交于 2019-12-05 07:06:19
Facebook is recommending that I use a HTTPS redirect URL, instead of HTTP. I've been trying to find a way to configure it to generate a HTTPS URL, at the moment it's generating a HTTP URL. https://www.facebook.com/v2.8/dialog/oauth?response_type=code&client_id=255162614498922&redirect_uri= http://example.com/signin-facebook &scope=&state=-x4AVtFysadfadsfsadROH6E1QJ82gv4e4j48s32K5xbmqlF-JFbE5Y2Tx_MAdSquCP6CjZjic8Ye6gwasdfdfask3PXWkyxS42Ajpks9IuumDOl6CUJsadfafsasfdasdfbfpEFUDyxJUR3fARlWc83Lysadffdsdaffsdafasdsdafx_ziTnttz Currently it is generating: http://example.com/signin-facebook for the

PFFacebookUtils logInInBackgroundWithReadPermissions doesn't open Facebook after iOS9 update

大兔子大兔子 提交于 2019-12-05 06:58:25
I've updated to iOS9, and now my Facebook login button, which calls: [PFFacebookUtils logInInBackgroundWithReadPermissions:@[@"public_profile"] block:^(PFUser * _Nullable user, NSError * _Nullable error) {...} doesn't even attempt to open Facebook. I've added the necessary files to my info.plist file ( as suggested here ), which now looks like this: But the FB app doesn't launch, and the block is never called. Any ideas? The (Parse) Facebook login in iOS9 by default will use Facebook in the safari browser instead of the Facebook App as this is now regarded as the best user experience. If the

Android Facebook SDK 3.0 Simple Status Update Without Explicit Login?

无人久伴 提交于 2019-12-05 04:10:13
问题 I'd like to know the simplest way to update a user's facebook status. I'd like to simply display a 'Share' button. When the user touches 'Share': If they are already logged in to Facebook, a dialog will appear giving them the option to edit their posting before submitting to Facebook. If they aren't already logged in to Facebook, the will be prompted to login and then automatically shown the sharing dialog upon successful login. Is there a simple way to do this, or do I need to implement a

Logging out from facebook when using MVC 5 OWIN

自闭症网瘾萝莉.ら 提交于 2019-12-05 03:16:02
问题 I have an MVC 5 web app that has facebook authentication set up and working nicely. User clicks "Facebook" on the login page, signs in to Facebook and that authenticates with our web site. If the user logs out, the call to AuthenticationManager.SignOut() logs out of the web site correctly, but if the user then goes back to the login page and clicks "Facebook" again they are immediately signed in without having to sign in to facebook. So my question is, how do I configure MVC 5 OWIN facebook

Facebook OAuth “An Error Has Occurred”

守給你的承諾、 提交于 2019-12-05 02:48:18
问题 I'm having issues getting users logged in with my OAuth Dialog. This was working earlier today, so I suspect that it might be in conjunction with the February Breaking Changes. See for yourself in production at WomStreet. Sandbox mode is disabled, the URL's are set properly in the basic setting section the developer page in facebook. I am using devise for Ruby on Rails, but even inspecting the URL by hand seems to look good. Any ideas on where to begin to debug? UPDATE 1: Seems there is a bug

Symfony3 Facebook Login - redirect_uri URL gets converted to relative

痞子三分冷 提交于 2019-12-05 02:01:43
问题 I am trying to implement facebook login for a web-app. Here is the FacebookConnect.php <?php namespace Vendor\GiftBundle\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Generator\UrlGeneratorInterface; use Symfony\Component\Routing\Generator\UrlGenerator; class FacebookConnectController

Can not authorise user in Facebook JS SDK : “This authorization code has been used.” or how to get new authorisation token?

旧城冷巷雨未停 提交于 2019-12-04 23:06:50
问题 I am trying to use Facebook to authenticate users. It works ok except for Ajax calls. Most of the times it just send old token and I get : {"error":{"message":"This authorization code has been used.","type":"OAuthException","code":100}} So what I tried doing is wrapping every ajax call with FB.getLoginStatus(function(response) { if (response.status === 'connected') { return fn(); ... this did not worked so I've added : true as parameter to getLoginStatus to prevent caching : FB.getLoginStatus