facebook-login

Cannot find protocol declaration for 'FBLoginViewDelegate'

不想你离开。 提交于 2019-12-11 07:46:41
问题 For some reason I'm getting the error Cannot find protocol declaration for 'FBLoginViewDelegate' when trying to include the FBLoginViewDelegate protocol to my ViewController interface. I've searched for other similar questions but most of them seem to be related to circular inclusions...I don't think that's the case for me. #import <UIKit/UIKit.h> @interface ViewController : UIViewController <UITextFieldDelegate, FBLoginViewDelegate> //Properties @property (weak, nonatomic) IBOutlet

My App waiting for debugger in release mode in android studio 3.1.3

只谈情不闲聊 提交于 2019-12-11 07:29:51
问题 I am an amateur in Kotlin and android studio. I am trying to integrate the facebook login to my app but end up at a roadblock. After following the facebook login for android integration tutorial, I am unable to run the app in release mode. I did previously run the same app in debug mode for debugging. But now the app on my phone says "Waiting for Debugger" in release mode too. I have done the following already and it has not worked. Set debuggable to false in release mode Restart ADB Restart

Signed apk crashes with facebook login

眉间皱痕 提交于 2019-12-11 07:20:17
问题 My Signed apk crashes first time on facebook login with this error: AndroidRuntime: FATAL Exception: main com.facebook.aq: com.facebook.c.f got an unexpected method signature: public abstract com.facebook.c.c com.facebook.c.c.a(java.lang.Class) However, it works fine with 2nd attempt login. I am using Facebook-android-sdk-3.6.0. I've checked here too - Android Facebook application crashes when using a hash key other than the debug hash key, but didn't find any solution. Do anyone faced the

Why 'Invalid Hook Call Warning' for Material-UI and Facebook Login example for React?

佐手、 提交于 2019-12-11 05:23:40
问题 What is wrong in this code? I put it together from a material-ui example and facebook login button react example. import React, { Component } from 'react'; import { makeStyles } from '@material-ui/core/styles'; import AppBar from '@material-ui/core/AppBar'; import Toolbar from '@material-ui/core/Toolbar'; import Typography from '@material-ui/core/Typography'; import Button from '@material-ui/core/Button'; import IconButton from '@material-ui/core/IconButton'; import MenuIcon from '@material

'getLogoutUrl' Does not work

两盒软妹~` 提交于 2019-12-11 05:21:36
问题 After I click on my logout button, it redirects me to: https://www.facebook.com/home.php. Why is it that when I return to my app domain, I can still see the logout button...? Here is my code: <?php //User login/logout buttons if($user) { echo '<a href="'.$facebook->getLogoutUrl(array('next' => 'myurl.com/facebook/')).'"><img src="src/logout-fb.png" alt="Facebook Logout Button" /></a>'; }else{ $params = array( scope => 'user_photos, publish_stream', redirect_uri => 'http://myurl.com/facebook/'

Gigya facebook login: completion handler not called

只谈情不闲聊 提交于 2019-12-11 04:46:11
问题 I´m trying to use Gigya-SDK to login in the app via facebook. The setup up on Facebook looks good and the native facebbook login without Gigya works fine. But when I call the Gigya method the completion handler after the successful login on the Facebook- Website is never be called. Here is my very simple code: [Gigya showLoginProvidersDialogOver:self providers:providers parameters:nil completionHandler:^(GSUser *user, NSError *error) { if (!error) { NSLog(@"works"); } else { NSLog(@"Error: %@

Facebook & Google Login for asp.net website

北战南征 提交于 2019-12-11 04:22:02
问题 For my asp.net website I was trying put feature of FB & Google Login. I found tutorial from ASPSNIPPETS. Now in this what I have done is If user click on Facebook Login button then It first authorize the user & get user details in panel. Then I put my code to check whether user already exist in my db or not. If not then it Inserts user & then put login code. My Problem is after executing first line of code it stops executing further so that It is unable to check whether user is logged in or

Parse v1.7.4 and Facebook SDK NSInvalidArgumentException', reason: '+[NSData PF_dataFromBase64String:]: unrecognized selector sent to class

拜拜、爱过 提交于 2019-12-11 03:38:20
问题 I get this error, after upgrading both the FB and Parse SDK to the latest versions. I know that this occurs in my app delegate in the method below. I have a mixed swift and objective c application, my delegate is written in Objective C and as I am working to the next version I am converting and writing new classes in Swift. If I comment out the handler below the error does not occur, but i get a login failed message, which is what i would expect. After pressing in the login button the

Facebook logout button creeps across the screen in Firefox

老子叫甜甜 提交于 2019-12-11 02:08:58
问题 Go to our website here http://readabout.me/ and click the login with Facebook button in the bottom right-hand corner of the page. After going through the steps to sign in with our app, the login button will change to a logout button and start slowly creeping across the screen, lol. It looks like the Facebook resize JavaScript is being called over and over again on the login button for some reason, but I can't figure it out. I've had good luck with JavaScript debugging here on Stack Overflow

Get blank page while log in, share and like with Facebook SDK on iOS 10 with Facebook SDK 4.15.1

拜拜、爱过 提交于 2019-12-10 21:36:51
问题 I get this error when using FBSDKLoginKit, FBSDKShareKit, to login, share link and like a link in my application. I using FBSDKLoginButton to login @property (nonatomic, strong) IBOutlet FBSDKLoginButton *loginButton; - (void)viewDidLoad { [super viewDidLoad]; self.loginButton.publishPermissions = @[@"publish_actions"]; } Using FBSDKShareKit to share: - (FBSDKShareDialog *)getShareDialogWithContentURL:(FBSDKShareLinkContent *)content { FBSDKShareDialog *shareDialog = [[FBSDKShareDialog alloc]