Android : How to get larger profile pic from Facebook using FirebaseAuth?
<p>I am using <em>FirebaseAuth</em> to login user through FB. Here is the code:</p>

<pre><code>private FirebaseAuth mAuth;
private FirebaseAuth.AuthStateListener mAuthListener;
private CallbackManager mCallbackManager;

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    FacebookSdk.sdkInitialize(getApplicationContext());

    // Initialize Firebase Auth
    mAuth = FirebaseAuth.getInstance();

    mAuthListener = firebaseAuth -&gt; {
        FirebaseUser user = firebaseAuth.getCurrentUser();
        if (user != null) {
            // User is signed in
            Log.d(TAG, "onAuthStateChanged:signed_in:" + user.getUid());
        } else {
            // User is signed out
            Log.d(TAG, "onAuthStateChanged:signed_out");
        }

        if (user != null) {
            Log.d(TAG, "User details : " + user.getDisplayName() + user.getEmail() + "\n" + user.getPhotoUrl() + "\n"
                    + user.getUid() + "\n" + user.getToken(true) + "\n" + user.getProviderId());
        }
    };
}
</code></pre>

<p>The issue is that the photo in I get from using <code>user.getPhotoUrl()</code> is very small. I need a larger image and can't find a way to do that. Any help would be highly appreciated. 
I have already tried this
<a href="https://stackoverflow.com/questions/38032124/get-larger-facebook-image-through-firebase-login">Get larger facebook image through firebase login</a>
but it's not working although they are for swift I don't think the API should differ.</p>