All Questions
2,159
questions
0
votes
1
answer
26
views
How to set facebook au banner ads in 1 activity and it show in multiple Activity
I set this code in /res/layout/activity_main.xml
<LinearLayout
android:id="@+id/banner_container"
android:layout_width="match_parent"
android:layout_height="...
0
votes
0
answers
40
views
com.google.firebase.auth.FirebaseAuthInvalidCredentialsException: The supplied auth credential is incorrect, malformed or has expired
When I get the facebook token and submit it to firebase, it prompts failure.
The news is (The supplied auth credential is incorrect, malformed or has expired. Exception description
I have configured ...
-1
votes
1
answer
65
views
How do i publish videos to a facebook page's story?
i have been trying to publish videos on a facebook page's story, but i havent been successful, i have tried using their apis and integrating with restfb as well, As for restfb, i was able to post on a ...
0
votes
0
answers
50
views
Java resized JPEG seems to be invalid format for Facebook?
I use a java program to resize my jpg's for imgsrc settings and speed on mobile, etc.
I am using ImageIO and BufferedImage
The file types are TYPE_3BYTE_BRG, and written out that was also that type as ...
0
votes
0
answers
24
views
Why restfb library fails updating Facebook Page info?
I need to be able to update (using any API in JAVA) the info of my Facebook Pages, such as address, opening time hours, email, tel etc., but, I have not been successful.
I have tried restfb library ...
0
votes
0
answers
137
views
"Your SDK doesn't seem to have updated correctly. Please try again." Even after update is done
I have an Android app using Facebook SDK, when I try to add new events I get this message "Your SDK doesn't seem to have updated correctly. Please try again."
I have the latest versions for ...
0
votes
1
answer
128
views
How to schedule a facebook page post?
I need to shedule a facebook post using an image. It should appear in the planner tool of the Meta Business Suite.
I found this example, but I can't figure out how to use an image and set a ...
0
votes
0
answers
429
views
Why is authorization url not working with Instagram GRAPH API?
I am trying, for the first time, to make a Java desktop app using Instagram Graph API. I am having trouble with a user logging in with their instagram account. The official Meta website only shows ...
0
votes
0
answers
41
views
Facebook native preload ad
I'm an Android developer and currently, I'm trying to develop a Facebook ad in my existing code now I want to develop like preload ad, and after some screens, I need to show it without asking for a ...
2
votes
0
answers
205
views
Facebook page can't open in webview
If I try to load a facebook profile in a webview, I'm getting an error if I use a WebViewClient to display it inside the internal webview and not on an external browser:
webView=new WebView(ctx);
...
3
votes
1
answer
1k
views
Android Facebook SDK: what does "implementation 'com.facebook.android:facebook-android-sdk:[8,9)'" mean?
It is written here that I should use the following version of the Android Facebook SDK:
implementation 'com.facebook.android:facebook-android-sdk:[8,9)'
But I see here that the last version of the ...
0
votes
2
answers
4k
views
Error: Unable to load script. Make sure you are either running a Metro server or your bundle 'index.android.bundle' is packaged correctly for release
I upgraded my React Native project from 0.63.3 to 0.66.4 with the help of this resource
https://react-native-community.github.io/upgrade-helper/?from=0.63.3&to=0.66.4 (followed every instruction ...
0
votes
1
answer
704
views
Facebook The authorization has been revoked. Reason: Invalid OAuth 2.0 Access Token
I have problem when i login to facebook in my system to get my pages. The facebook api sent to my server response: The authorization has been revoked. Reason: Invalid OAuth 2.0 Access Token.
The ...
-1
votes
4
answers
589
views
ERROR : E/AndroidRuntime: FATAL EXCEPTION: main : Caused by: The Facebook sdk must be initialized before calling activateApp
hello everyone i have error in my android/java project
E/AndroidRuntime: FATAL EXCEPTION: main
Caused by: The Facebook sdk must be initialized before calling activateApp
screenshots:
image 1
image 2
0
votes
0
answers
38
views
which platform on facebook for developers to choose?
I made a chat bot for facebook messenger and now to complete I need to send it for verification (pages_messaging permission). And when submitting, I am asked to select a platform (to enter?). I don’t ...
0
votes
0
answers
41
views
Facebook reloaded twice in web browser from mobile app
While Clicking on facebook button,redirect to web browser and open facebook login page.After enter our credentials and need to click the CONTINUE Button, On first click of Continue button, facebook ...
0
votes
0
answers
199
views
How to handle the request when the user clicks the not now button during login with facebook
When i click "Not Now" button
during login with facebook it sends me to the previous url along with status code
https://localhost:3000/facebook/redirect?error=access_denied&error_code=...
0
votes
0
answers
35
views
How to click on disabled button in facebook
I want to click on this disabled button but i can't
can some one help me
this is screen for button
enter image description here
enter image description here
2
votes
2
answers
237
views
How to click on Close icon/element on the Facebook sign-up page using Selenium Java?
I am new to Selenium and learning. On the Facebook sign-up page I want to click on the X as shown in the below screenshot, but I am unable to click it. It's an img element.
driver.findElement(By....
1
vote
1
answer
585
views
Is there any new way to open fb url directly in fb not browser?
public static Intent getOpenFacebookIntent(Context context,String url) {
try {
context.getPackageManager().getPackageInfo("com.facebook.katana", 0);
return ...
3
votes
0
answers
267
views
Didn't find class "com.facebook.CustomTabActivity"
I have recently launched an app that has anonymous and google login enabled on firebase(atm google sign in is not activated in the app).
Firebase Crashlytics has some crash reports with "Didn't ...
1
vote
1
answer
848
views
How to exchange facebook code for an access_token
I start oAuth2 with Facebook from client side and I get code after successful user login. Now I want exchange code for an access_token like here: https://developers.facebook.com/docs/facebook-login/...
0
votes
0
answers
36
views
facebook giving an error when putting status on live
I am just filling up all the info which facebook need while creating the Facebook login app with key hash and all but when I am putting status in live mode it's showing me some errors you can check in ...
0
votes
1
answer
657
views
selenium test case for facebook login and if doesn't login then automatically enter create new account option i cant automate theCreatenewAccount opt
selenium test case for facebook login and if doesn't login then automatically enter create new account option and i tried to search the locators in the HTML code for create new account option there id ...
0
votes
1
answer
353
views
Selenium does not find element by it's xPath
Trying to upload some image from Facebook by its xPath, without lucky, any other way to do it?
Java:
var xPathContato = "//*[@id=\"mount_0_0_lv\"]/div/div[1]/div/div[3]/div/div/div[1]/...
0
votes
0
answers
85
views
how to update video custom_lables with Facebook Graph API POST request
I'm trying to add custome_labels to my video using facebook graph api.
I'm trying to use the following :
FB.api(
'/{Video_ID}',
'POST',
{"custom_labels":"TEST"},
function(...
-1
votes
1
answer
50
views
How to upload text on Facebook timeline field using android studio?
i am trying to upload text on Facebook timeline using my app to Facebook app using share dialogue. Below code work fine to share link but not working on only text field.
ShareLinkContent content = ...
2
votes
1
answer
399
views
Trouble Loading is shown when open FB page from Android application
I can open FaceBook page in browser:
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("https://www.facebook.com/<page_name>")));
I can open my profile page in FB application:...
0
votes
0
answers
43
views
newMeRequest needs a Page Access Token
So lately I've been trying to use Facebook's Graph Api and was trying to get some of user's data like email, profile picture, id and name as a start, but however I try to use a newMeRequest the ...
0
votes
1
answer
769
views
Android live app - Google Admob mediation with Facebook Ads shows only Test Ads
We have added mediation code for Facebook with Admob in Android Studio.
But After published live app in play store, my app does not showing live ads, it's showing only facebook test ads.
NOTE : App ...
3
votes
0
answers
237
views
Posting pictures on facebook with java selenium: element not interactable
I am trying to post some text and pictures on facebook with a little Java program.
I am not able to send any image since I cannot click the appropriate button with selenium.
Here is the part of code ...
0
votes
1
answer
74
views
save facebook login data after login - Kotlin
i have a normal registration that ask the user for username,email,gender, and password,
and these info are stored in Firebase
so the normal registration is working fine and the data is saved in ...
0
votes
1
answer
121
views
Android-Java Facebook API Error validating access token
I'm creating an social application in which I have Sign-up from Facebook. Everything work fine. But recently from user Facebook profile URL I'm not getting its profile picture.
First this URL "...
0
votes
1
answer
80
views
unable to fetch the facebook user profile after login with facebook in android
I am integrating Facebook login integration. After login, I need to get the name, email, and profile pic of the user. I am getting the details but the profile pic is not showing up in my image view ...
0
votes
1
answer
74
views
Login via facebook and gmail
I have an application which is based on JWT.
Currently, when you log in with account created via application - you get jwt token:
@PostMapping("/authenticate")
fun ...
1
vote
2
answers
494
views
How to send message to facebook
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 ...
0
votes
1
answer
30
views
Android Facebook SDK, owner some 3rdparty
Android - Facebook SDK [Advertising]
The third party is the owner of the Android application.
Install Facebook SDK
We create a facebook accout and give it an Application id.
We have been doing ...
0
votes
1
answer
104
views
Can Google admob and Facebook audience network serve ads on the same app without using mediation?
Want to publish my app on play store but don't know if I can use Facebook ads and Google ads sdk together without mediation
0
votes
1
answer
164
views
how to set 2 types of user for a certain app
I wanna to create an app that has 2 types of users
first type is admin: that has Authority to add info and manage the app
second type is the customer
and every one has a different options and screens
...
0
votes
1
answer
1k
views
Unable to Start Activity... android.content.res.Resources$NotFoundException: Drawable com.app: drawable/abc_vector_test with resource ID #0x7f07005c
I´m trying to do an App that works with Firebase and authenticates with Google, Email and Facebook.
Is exactly in the phase of Facebook sync that I had this problem:
E/AndroidRuntime: FATAL EXCEPTION: ...
0
votes
1
answer
73
views
Convert java third party object to json with different names
I am using the facebook sdk and the object field names often differ from their corresponding getters & setters. Because of this I am unable to convert my json objects from frontend to the fb ...
1
vote
0
answers
14
views
Integrate OAuth account with local account
In my app a have two login types
name/password
facebook
However i am not sure how to integrate the faceboo login. I have table user that holds
name
email
phone number
password
When user logs with ...
0
votes
1
answer
128
views
How to load facebook ads after certain time of app load?
Hi I am creating an Android app. I want to show Interstitial ads after some time of app load. Say 60 seconds.
The Code that I had developed shows add instantly as soon as some button or icon is click, ...
1
vote
0
answers
44
views
Facebook Sponsored Message Ad Creative | Java SDK
I am currently attempting to use the Facebook Java SDK to create Facebook Ads/Ad Creative. Here is my code so far:
AdCreative adCreative = new AdAccount(id, context).createAdCreative()
...
0
votes
0
answers
51
views
How to get Batch Status from Facebook API using RestFB
I'm using RestFB api to comunicate with Facebook API.
After I send batch requests, I need to GET check_batch_request_status to know the status of all my requests.
Using Postman I did it, but using ...
1
vote
0
answers
164
views
Is there a way to read messages from Facebook Messenger from another Android App?
Like in the title. I am working on an application that will warn users against phishing. I found a way to read incoming text messages. However, I would like to be able to check messages that come to ...
1
vote
1
answer
283
views
Facebook Java SDK | Marketing API Error #803
I am currently trying to use the Facebook Java SDK to publish ads automatically.
I am just attempting to test my API Authentication using the basic facebook demo code they have provided: https://...
2
votes
2
answers
2k
views
My android app Crash when trying to load a facebook Native Ad (java.lang.NoSuchMethodError: No static method isChildDirected())
My application crashes when trying to load a facebook Native Ad, here is the log Error :
2020-11-14 12:31:15.968 5710-5710/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.demopackage.name, ...
0
votes
1
answer
2k
views
error: cannot find symbol method setAdListener(<anonymous InterstitialAdListener>) & (<anonymous InterstitialAdListener>)
error: cannot find symbol method setAdListener()
error: cannot find symbol method setAdListener()
com.facebook.ads.AdView adView_banner = new com.facebook.ads.AdView(this, getString(R.string....
0
votes
3
answers
648
views
How to Automate new Facebook Sign up popup?
I've tried to Automate Facebook Signup page (new version consists of a popup). I've tried to switch to iframe but I've failed to find it.
Please help me. Please share the code.