Category : facebook

We are trying to fetch is_verified like below: GraphRequest.newMeRequest(loginResult.accessToken) { `object`, response -> Log.v("LoginActivity", response.toString()) } val parameters = Bundle() parameters.putString("fields", "id,name,first_name,last_name,email,is_verified,picture") request.parameters = parameters request.executeAsync() Getting permissions like below: LoginManager.getInstance().logInWithReadPermissions( this, Arrays.asList("public_profile", "email", "user_about_me") ) but is_verified flag value alone is not coming. Source: Android..

Read more

I’m calling this API to get the Instagram business user profile details: https://graph.facebook.com/v4.0/${pageId}?fields=instagram_business_account&access_token=${accessToken} This is the error we’re experiencing on our production mobile app: On the server side, this is the error: OAuth "Facebook Platform" "invalid_request" "(#100) Object does not exist, cannot be loaded due to missing permission or reviewable feature, or does not support ..

Read more

String url ="https://m.facebook.com/messages/read/?fbid=101631428274763"; Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); startActivity(intent); I want to directly send some messages. This way I am able to send message to fb page…but, not able to add some texts to text field. So, how can I send messages? I know that I can do that by intent.putExtra but, what the ..

Read more

why and how to get my current users in the firebase backend..users are not getting added… and at the same time i couldnt able to logout of the current user………………………………………………………………………………………………………………………. ……………………………………………………………………… package com.example.login //import com.google.firebase.ktx.Firebase import android.content.Intent import android.os.Bundle import android.util.Log import android.view.View import androidx.appcompat.app.AppCompatActivity import com.facebook.AccessToken import com.facebook.CallbackManager import com.facebook.FacebookCallback import com.facebook.FacebookException import com.facebook.login.LoginResult ..

Read more

I have a Xamarin.Forms app targeting Android and iOS communicating with an ASP.NET Core backend. I need to implement social authentication for the app – Facebook and Google for now. Following this Microsoft guide I added Xamarin.Essentials.WebAuthenticator in my mobile app, created the appropriate authentication endpoints and added Facebook auth middleware. Now my problem is ..

Read more