Questions tagged [facebook-javascript-sdk]
Facebook's JavaScript SDK provides a rich set of client-side functionality for accessing Facebook's server-side API calls. It can collaborate with any SDK like PHP, C#, Java, android, ios, etc
5,258
questions
0
votes
0
answers
16
views
Sharedialog SDK does not work on some device
We have developed a mobile application available on Android.
This mobile application allows users to share advertiser videos on Youtube and earn money.
ShareDialog shareDialog = new ...
-4
votes
0
answers
18
views
ShareDialog does not work on some devices [closed]
we have developed a mobile application available on Android: https://play.google.com/store/apps/details?id=com.almightytechnology.pubshowcash
This mobile application allows users to share advertiser ...
0
votes
0
answers
11
views
Is there a way to get a leadgen_id of the people after the lead form is submitted?
We are working on getting Facebook lead details into our system through webhook.
Once the FB lead form is submitted by the people, we want them to be redirected to another screening form which is ...
0
votes
0
answers
13
views
Is this possible to login whatsapp login on web throwing whatsapp channel (hash key)?
Is this possible to login whatsapp login on web throwing whatsapp channel (hash key) ?
0
votes
0
answers
36
views
Facebook group comments
Hello im creating a website with facebooks API, im trying to get a facebooks GROUPS comments and let the user reply to a comment, but cant get it to work..
Tried with the graph api, which i get error ...
-2
votes
0
answers
13
views
How to connect a facebook user to my webapp and create posts on the user's behalf using Facebook Javascript SDK
I am building a react webapp similar to https://www.hootsuite.com where users will connect their social media platforms and will be able to post to multiple places at once. I am starting with facebook ...
0
votes
1
answer
64
views
Refreshing FB Access Token with Javascript SDK
For context I am trying to build a small microsite to pull social media insights from Facebook. I am looking to build a Django backend and React front end.
I would like to implement FB login with the ...
0
votes
1
answer
43
views
why is facebook js sdk web login callback not being called or called too early?
the problems
fb:login-button: with it, I can't log in.
FB.login(): with calling it by clicking a button, I'm able to log in but the callback function called too early before I log in or sign up so ...
0
votes
0
answers
11
views
Permission issue with /targetingsearch route with facebook graph
I am trying to use an app for the user to login from a web platform, however, I have problems so that the token that returns me can use the following route:
graph.facebook.com/v13.0/act_<<...
0
votes
0
answers
13
views
Custom Audience: Why does it not appear on my facebook interface?
When I sent a request to the following endpoint: /{custom-audience-id}?fields=approximate_count_lower_bound on Graph API I can view the custom audience body which shows the several info and the "...
0
votes
0
answers
18
views
Permissions to get facebook page ID via API?
I need to get a Page ID from a page URL (ex: Facebook.com/Nike).
Facebook API returns a message saying I need a permission (Page Public Metadata or Page Public Content access) that is only available ...
1
vote
0
answers
33
views
Facebook API - POST a comment on a private groups post
I have successfully retrieved an post made on an private group and the comments made on this post. I want also to make the users on my app to be able to reply to comments on that post but cant get my ...
0
votes
0
answers
25
views
Fire fbq event with user_data
In FB doc, it is explained how to bind user_data to fbq while initializing fbq. However it is not explained how to bind user_data later on.
Let's say I have a form where users put their email. When ...
0
votes
0
answers
23
views
Why is my JavaScript code receiving a "No 'Access-Control-Allow-Origin' header is present on the requested resource" error? [duplicate]
I am trying to create an app that would get the live comments from one of my live videos on my FB page and would play a notification sound whenever someone comments.
I'm quite new to APIs and I tried ...
0
votes
0
answers
12
views
Faceook js sdk doesn't return "payments.purchaseAsync" on android device
I want to implement in-app purchase for my html5 game. When I check whether payments is available for my game or not, the "getSupportedAPIs" doesn't return "payments.purchaseAsync" ...
2
votes
0
answers
103
views
Error: An error occurred while trying to log in to Facebook expo-facebook android issue
I am trying to implement Facebook login in a simple expo app but on the android expo client, it is not working. Following version, I am using.
"expo-facebook": "~12.0.3",
Method ...
0
votes
0
answers
22
views
Facebook Ads API time_range Issue
I'm trying to use the Facebook Graph API to get the list of ads for specific dates. The issue is that the time_range value I am passing is being accepted by the Facebook API endpoint but the result is ...
0
votes
0
answers
8
views
How do I add different photos for different Facebook ad positions?
As shown in the image, in the facebook ads manager I can upload different photos for each Facebook position (feed, story and right column). I want to do the same using the Javascript SDK but I can't ...
0
votes
0
answers
42
views
Logging in via Facebook Messenger login connect flow isn't working correctly
I want to utilize Facebook Messenger login connect flow in my web application - https://developers.facebook.com/docs/facebook-login/login-connect/
For that, I've created a test app and set up an ...
0
votes
0
answers
107
views
Facebook Marketing API: create Adcreative with Instagram Video
I want to create an ad based on an existing Instagram-Video post. Therefore I already uploaded the video to the /advideos endpoint.
However, now I'm stuck with creating the adcreative. The ...
0
votes
0
answers
52
views
Facebook Marketing API permanent Access Token?
I'm building an app which acts as a simplified layer of the Facebook Ads manager. It can create ads trough the Facebook marketing api.
There are also other services such as adespresso or manychat ...
0
votes
0
answers
37
views
Saving FB access token from FB JS SDK to DB
I am implementing 'Login with FB' for my web app using FB JS SDK. I have got the user to return the access token in the response inside the statusChangeCallback function. However, I am not sure about ...
0
votes
0
answers
44
views
Javascript testing: Mocking dispatch and get state
The test should be checking if inbox.get is getting called with current user id 12345 for currentuser filter criteria.
When I run the tests, it's not able to enter return(dispatch, getstate), out of ...
0
votes
1
answer
28
views
Can I use Facebook translate service in my python NLP project?
I hope you are feeling good and safe.
I'm working on Natural language processing project for my master degree, and I do need to translate
my local dialect to ENG, and I noticed that Facebook translate ...
0
votes
1
answer
41
views
Is there a way to set a certain permission in "Facebook Login" process as "required"?
Is there a way to set a certain permission in "Facebook Login" process (such as "email" permission) as "required", so a user can only approve logging in with that ...
0
votes
2
answers
62
views
Using filter() to implemnt curriable() in javascript is fial , however, uisng map() is work, why?
I'm trying to implement the curry() with placeholder support, that is curriable. curriable provides a high performance and small footprint curry method. The version1 is the working code
is using map ...
0
votes
0
answers
26
views
Facebook app in js to retrieve posts from a public page
so basically i have a wordpress website in which i want to upload the same posts of the related fb page (to this site). I created a fb app, and now i have a problem:
i cannot access the public posts ...
0
votes
0
answers
31
views
Facebook Send-to-messenger social plugin not working in incognito/private modes or mobile browsers
I am using the code below (as it is generated by Facebook) to show a Send To Messenger button to trigger a webhook on my side. It is working perfectly on normal desktop browsers but on incognito/...
0
votes
0
answers
37
views
How to remove a custom tab from Facebook Business Page [in 2022]
Thanks in Advance...!
Query: I want to remove a custom tab from Facebook Business Page. In Facebook new pages design I am not getting any button for this. It was earlier there in the Classic version.
1
vote
1
answer
112
views
URL blocked: "Add all your app domains as valid OAuth redirect URIs" (with a Facebook Business App)
Trying to get Facebook Login to work with my next-auth / nextjs app.
It all works when I select a Consumer App and it's in Development Mode.
However, I want to use features of the App Type Business ...
2
votes
0
answers
129
views
How to remove Facebook tracking from default React Expo project?
I created a very basic React Expo application and compiled it to an Android APK. In the Google Play Store I stated that my application does not collect any user data. To be save I installed the APK on ...
0
votes
0
answers
35
views
How to post a photo to a page with a tagged Product via Graph API v12.0?
We have a Facebook Shop and a Business Page, and are using Facebook Graph API to create Photo posts on the Business Page using the Javascript SDK running in a browser. How do you include the tagged ...
0
votes
0
answers
18
views
Facebook Like Share plugin does not appear
On my legacy site, the Facebook like and share sites used to work. They disappeared for some reason, so I recreated them again, following the documentation on Facebook developers.
The thing is still ...
0
votes
0
answers
74
views
Pages_read_user_content makes app not work
Asking this question here is my last resort.
I have made an app where you can log in with Facebook and it has already been approved by Facebook a few months ago, however i now wanted to add the ...
0
votes
0
answers
43
views
Facebook Marketing API - Estimated daily results
I've been trying to calculate the daily_outcomes_curve from Facebook to get the daily estimate based on budget.
Is there a way to get the estimated daily results (based on budget) from the adset using ...
0
votes
0
answers
26
views
Can the Facebook SDK support sharing from any website?
I am creating a website that will allow users to embed widgets on their own blogs and websites. I have previously used the Facebook SDK to allow URLs to be shared from defined websites, but now I need ...
1
vote
1
answer
49
views
Credential doesn't exist on Facebook Auth
I'm copying this code from the expo documentation page Using Firebase (Facebook-Login) to integrate Facebook login with firebase.
const { type, token } = await Facebook.logInWithReadPermissionsAsync({
...
0
votes
0
answers
23
views
Check if user is logged in on Facebook Without Any SDK
I am working on a script which will be installed on different domains and it will check if a user is logged in on Facebook. I can do it with SDK but it would be domain specific. Can we somehow check ...
1
vote
0
answers
38
views
FaceBook JavaScript SDK no response is sent when login cancelled
I am working with the FaceBook JavaScript SDK to log users in via FaceBook SSO. documentation
Clicking the SSO button opens a new window prompting the user to log in via FaceBook. If the user logs ...
0
votes
0
answers
302
views
Access token warning when logging in using Facebook
sdk.js?hash=42d52a9c0ddc4f19cfb50e5147eaca5d:49 You are overriding current access token, that means some other app is expecting different access token and you will probably break things. Please ...
-1
votes
1
answer
40
views
Unable to get reviewer info with reviews
I'm using this route:
{pageId}/ratings?fields=open_graph_story,reviewer,has_review,has_rating,rating
I'm following this documentation:
I'm using Graph API Route to get reviews of a page using {page}/...
0
votes
0
answers
40
views
Unable to get user info with reviews
I'm using Graph API Route to get reviews of a page using {page}/rating. But there is no reviewer information in the response like name and image.
{pageId}/ratings?fields=open_graph_story,reviewer,...
0
votes
0
answers
60
views
How to post comment on live video facebook using api
I integrated Facebook live video on my app and its working but I want to implement live comment its mentioned in docs that we can get live comment but can not create
https://developers.facebook.com/...
0
votes
0
answers
35
views
facebook connect Fb.getLoginStatus from php-sdk
I'm building an app with multiple subdomain for my users, since the Facebook JS SDK don't allow wildcard on Authorized domains for the JavaScript SDK in App settings, I created an auth.example.com ...
0
votes
0
answers
27
views
Invalid Scopes: user_about_me, user_website. This message is only shown to developers
When I use Facebook login in my webapp. I am getting this error.
"Invalid Scopes: user_about_me, user_website. This message is only shown to developers. Users of your app will ignore these ...
1
vote
1
answer
51
views
While firing the Purchase event not showing duplicates event
I am using the Facebook pixel and Facebook conversion API. to fire the event viewPage and viewContent etc. everything is working fine. but the issue when I fired Purchase event at that time event_id ...
2
votes
1
answer
2k
views
Cors error while rendering FB Chat plugin for whitelisted domains
I am trying to add the Messenger Live Customer Chat Plugin dynamically to a site by first whitelisting the domain via the API and then injecting the script tag to the whitelisted domain site.
Now, ...
0
votes
0
answers
58
views
Sign in with Facebook on react native
I am getting the following error while Signing in with Facebook on react native app using
react-native-fbsdk package. I am not using the firebase. I want to validate the token on server end (laravel). ...
0
votes
0
answers
33
views
Facebook sdk api subscribed_apps sudden failed with Invariant Violation in nuxt
I've used FB sdk with nuxt for a year now with this guide from:
How to use Facebook SDK with Nuxt.js?
I tried to use subscribed_apps api (this code works for an entire year, until today)
this.$fb.sdk....