Skip to main content

All Questions

0 votes
3 answers
2k views

How to Firebase Authenticate Using Facebook Login in Android Studio with fragments and viewpager?

My build completed successfully but the app crashed. Would someone write a tutorial on how to link Firebase Auth with Facebook Login in Android Studio using Viewpager and Fragments as in my code? I ...
Milan Malovic's user avatar
6 votes
2 answers
5k views

Android - Facebook SDK 4.30 Initialization

I get the following error when trying to login by Facebook when using the latest SDK version which is 4.30: The SDK has not been initialized, make sure to call FacebookSdk.sdkInitialize() Then ...
Peter Helmy's user avatar
-1 votes
3 answers
979 views

Proper way of implementing login with fragments

I am currently developing an app that uses Facebook and Google login. Until now, I used a LoginActivity which starts MainActivity when login is successful. I want to rewrite it using fragments ...
Benjamin Lesaffre's user avatar
0 votes
1 answer
847 views

How does the navigation through all views on apps like Facebook, Instagram and Youtube works?

I'm developing an Android app within a bottom bar with 4 main sections. In each section I want to be able to open new views still displaying the bottom bar. If the user goes to another main section it ...
Roberto Tonini's user avatar
1 vote
1 answer
1k views

Facebook, Twitter, Google login in Fragment

I was already able to login with all 3 services when using Activity, but when I tried to change to fragments, as soon as I confirm the permission on facebook/twitter or click the google login button, ...
Spotik's user avatar
  • 105
1 vote
2 answers
355 views

Failure to login using Facebook Sdk: java.lang.RuntimeException: Failure delivering result

Inside MainActivity public class MainActivity extends AppCompatActivity { private BottomNavigationView mBottomNavigationView; String[] fragmentTitles; @Override protected void ...
Mishu's user avatar
  • 269
2 votes
1 answer
1k views

TabLayout and WebView

i want to make an app with tabs based on WebView. My question is: Is possible use the fragment as webview and set the url depending on which tab i press? For example, if i press the first tab go to ...
ZeeRooo's user avatar
  • 31
1 vote
0 answers
138 views

Setter and Getter returns null to get name, email, profile pic, and id from Facebook Login

So I plan to store the info from loging in facebook to a getter and setter so that i could post it could be posted in my Firebase database from BroadcastFragment.java. What I dont understand is why ...
Exc3m1206's user avatar
1 vote
3 answers
1k views

Android Firebase Oauth Facebook not working in fragment

Authenticating with Firebase Facebook is not working, here is my fragment code: public class LoginFragment extends Fragment { private View mView; private FirebaseAuth mAuth; private FirebaseAuth....
Christer's user avatar
  • 2,966
0 votes
1 answer
176 views

How to create Facebook Messenger like buttons for MESSENGER\ACTIVE Fragment, and how to swap fragments using them?

I'd like to know how MESSENGER\ACTIVE button configuration is achieved... And if switching fragments on button click will work with this configuration..?
Dhruv's user avatar
  • 387
0 votes
2 answers
85 views

Android facebook profle get name

I'm trying to retrive the profile name from a facebook user that has logged in/ is logged in. It only lets me retrive the name if I'm already logged in on facebook before I run my applikation ...
Amar's user avatar
  • 529
0 votes
1 answer
2k views

Error inflating class com.facebook.login.widget.LoginButton

I'm trying to implement login with Facebook using Firebase Authentication so I followed all the steps so first I added FacebookActivity in my AndroidManifest : <activity android:name="com....
Amine Harbaoui's user avatar
1 vote
2 answers
79 views

Android Facebook login not being processed

I'm using the latest Facebook Android SDK to authenticate my users, and I'm running into this issue. I have a root activity set up, with a custom ActivityResult handler system (basically, fragments ...
fonix232's user avatar
  • 2,184
4 votes
2 answers
4k views

Facebook login in fragment

I would like to use Facebook login in my App. I have just registred app and added SDK to project. However, I tried to follow the tutorial from documentation but nothing worked (I need to get ID and ...
Stepan's user avatar
  • 1,111
0 votes
2 answers
750 views

Android - Can't access onSuccess of callback after login with Facebook in fragment

I have successfully logged in facebook. But, I can't access token or user profile from onSuccess method of callback. I have added callbackManager.onActivityResult in onActivityResult. I can login, but ...
andika_kurniawan's user avatar

15 30 50 per page
1
2 3 4 5
8