All Questions
Tagged with facebook facebook-javascript-sdk
3,700
questions
-1
votes
0
answers
12
views
Issue with FaceBook JavaScript SDK Payments Dialog on Mobile Browser
When testers attempt to make a payment on mobile browsers, a new tab opens with the message:"Content not found:The Link You Follow May be Broken or The Page May Have Been Removed." This ...
0
votes
0
answers
24
views
Get Facebook custom or standard events configured to an app
I am trying to create an APP ENGAGEMENT campaign using Facebook ads API. I want to optimize (performance goal) the adset based on custom/standard events associated with the app; not based on clicks or ...
-1
votes
0
answers
16
views
Get all the standard events for a particular app in app promotion objective when performance goal is - Maximise number of app events
I want to get all the standard events for a particular app in app promotion objective when performance goal selected is to maximise number of app events.
By inspecting the ads manager in browser, I ...
0
votes
0
answers
25
views
Facebook Business Manager app advanced access permission
we are using an app for Facebook Business Manager that allows us to manipulate users' catalogs, enabling us to dynamically add products to their Meta catalog. We are looking to use the "...
0
votes
0
answers
21
views
Create Saved Audience using Facebook Ads API
I need to create a Saved Audience so that I can use them for other AdSets. Refer here.
I found the documentation to read the Saved Audiences available in an ad account. But Create operation is not ...
0
votes
0
answers
46
views
Creative must provide enroll_status for standard enhancements while updating adset
When I am trying to update the targeting of an AdSet, an error is returned.
Session URL : https://developers.facebook.com/tools/explorer/321102689698722/?session_id=1408717453113278
{
"error&...
0
votes
0
answers
46
views
Integrating "Facebook login for business" in web portal
While Integrating the Facebook login for business I am facing "It looks like this app isen't available".
I have followed all the steps mention in the META documentation.
please click here to ...
2
votes
0
answers
128
views
Deprecating Facebook Groups API - Alternative way?
Recently facebook made some changes to their api and depricated the "Groups API".
We used it to add weekly a post to our group in an automated way. This ofc stopped working.
Now i have tried ...
0
votes
0
answers
59
views
Facebook page reels video upload facing error "message": "(#200) subject does not have permission to post videos on this target", "code": 200
Facebook page reels video upload with API facing issue
{ "error": { "message": "(#200) subject does not have permission to post videos on this target", "type": &...
0
votes
0
answers
33
views
is it possible to embed a Facebook post through website user inputting its share link?
I just want the website user to input a link of a post on his Facebook page, and show this post as an embedded post in his session html, but Facebook android 'Share' button gives links like: https://...
0
votes
0
answers
16
views
How to copy/edit a leadgen form without losing it's linked data with Facebook API?
In my application I want users to edit their leadgen forms. As far as I know there is no possibility to edit a leadgen form. Simply creating a new leadgen form with the desired changes would result in ...
0
votes
1
answer
229
views
Facebook Graph API /me?access_token=... keeps returning empty JSON for valid access token
I'm developing an app that will make use of the Business On Behalf Of API (https://developers.facebook.com/docs/marketing-api/business-manager/guides/on-behalf-of#bm-client). Based on the steps in the ...
0
votes
0
answers
32
views
Facebook Post Images from local system on own Page
i have 1 dog page on Facebook,
i usually post photo of dogs when ever i have time, so trying to write a scheduler that will take images from my system folder and upload and publish on my page.
i want ...
0
votes
1
answer
72
views
Facebook login via JS-SDK via OAuth will get stuck half-way
I need to get authenticated for Instagram API. I have a business profile. And I'm trying to authenticate via FB login via the JS SDK:
<p id="profile"></p>
<script>
...
0
votes
0
answers
15
views
My Authentication is not working in published mode
If i disable Javascript SDK my page are blank. If i active my page is equal to image.png. My app are in production mode and his permissions public_access and email in advanced mode.
I already try ...
0
votes
0
answers
88
views
How to provide "Login Using Facebook" for external users when using "Facebook Login For Business" product?
I've a login page where I provide external users with an option "Login Using Facebook". The Meta App has a type "Business" & using the product "Facebook Login For Business&...
2
votes
1
answer
282
views
Facebook Login issue using web SDK
I have integrated a Facebook OAuth login into my website. I have used the same script specified in the Facebook documentation, But am getting a blank screen for the popup. While inspecting the browser ...
3
votes
1
answer
598
views
Getting 'Minified invariant #21945;' error when implementing `Facebook Login for Business` using User Access Token
I am attempting to implementing Facebook Login for Business and as per my requirement I would need to request the client business user to generate a User Access Token.
As per the doc I created a ...
0
votes
0
answers
134
views
Blank screen appearing rather than popup when trying to use Facebook login in my Vite React app
So, I am trying to implement Facebook oAuth in React. I have already created an app and provided the following permissionsMyApp's permissions
When I click on the Login via Facebook button, I get ...
0
votes
0
answers
18
views
When running ads on facebook for a web app, does using the facebook sdk help in any way?
I am new to the Facebook SDK for JavaScript and facebook ads. I am wondering what benefits the FB sdk has as opposed to calling the apis directly using fetch/axios. In particular I am wondering, when ...
1
vote
2
answers
63
views
Unable to get custom label from page conversations api
Fetched the Page conversation
GET /v18.0/<page_id>/conversations?fields=id,message_count,participants
We successfully got the participants along with the name and id (page scoped user id)
Error ...
0
votes
0
answers
21
views
How to post local images to Facebook via JavaScript SDK (v19.0)?
My plan was to submit an image via formData to the /{album_id}/photos or /me/photos endpoints. But these have been deprecated. What is the latest allowed method for this?
Any ways where I am able to ...
0
votes
1
answer
176
views
How to post local images to Facebook via JavaScript SDK without URL?
I am trying to use the JSSDK for a desktop website, not a mobile website. I am able to login, and then here is what I am doing:
Enable user to login with app_id, and get access_token.
Get a local ...
0
votes
1
answer
758
views
Configure facebook login button for Business not allowed to add config_id
I have created a Facebook Business web app in a react project and want to add config_id while logging in. As the documentation mentioned for the business web app, https://developers.facebook.com/docs/...
0
votes
1
answer
122
views
Facebook JS SDK - The loading of “https://www.facebook.com/plugins/like/connect” in a frame is denied by “X-Frame-Options“ directive set to “deny“
I apologize for my "bad" English (thanks chat gpt), but I'll do my best to explain my issue.
I'm referring to the documentation provided by Facebook at https://developers.facebook.com/docs/...
0
votes
1
answer
273
views
Facebook account restricted due to two-factor authentication but it is already switched on
After trying to log a client into my Meta App (using Facebook Login for Business), I found that their account is marked as restricted and it is failing to log in. There is a message saying "Turn ...
0
votes
0
answers
29
views
Create a personal shadow ban on all Facebook posts on a Facebook page?
I know Instagram allows this but how do I shadow ban a particular user from posting comments on my Facebook page without doing it individually on every post?
Is their a way to do it with the API they ...
2
votes
0
answers
1k
views
Feature Unavailable: Facebook Login is currently unavailable for this app, since we are updating additional details for this app
My app on developers.facebook.com was put into restricted mode when they requested me to send a video of how the login/registration process worked in my app. I submitted that to them and it was ...
0
votes
0
answers
59
views
facebook-js-sdk FB.api('/me', { fields: ['email'] }) not returning email when the user has signed up with phone number
**DISCLAMER:** I am aware there are similar question that has been solved by specifying the correct fields it needs which was a change made on v2.4. This is not the same problem or question.
facebook-...
0
votes
0
answers
115
views
Creating Product Sets on Facebook using Graph API or Javascript SDK
I am trying to create product sets from an existing catalogue on facebook. I was able to use nodejs-facebook-business-sdk well so far to fetch the catalogueID, the product ids and other fields from ...
0
votes
0
answers
56
views
Is there a way to get the Applications Submitted metric using the Insights edge of the Facebook Graph API?
I am trying get the metric Applications Submitted seen in the image. I am using v18 of the Graph API directly with HTTP. I am using the Ad Account node with the Insights edge, but no matter what ...
0
votes
0
answers
42
views
How to get access to the birthday of the logged-in person's friends?
I am currently working on a web application project using the Graph API.
The goal of the project is to allow users to log in through Facebook, grant necessary permissions, and view their friends' ...
0
votes
0
answers
116
views
How do I delete the draft of the permissions I have requested on Facebook ? I haven't yet submitted the app for review
I need to delete these permissions first, I think I have made an error in asking for permissions.
Clicked on Edit button it takes me to App Review. Tried using delete button on the permissions and ...
0
votes
0
answers
30
views
Navigating the Facebook App Development Process with Advanced Permission Needs
I'm currently developing a Facebook app that primarily requires advanced permissions to function properly. However, I'm facing a catch-22 situation: I need these advanced permissions to build and test ...
3
votes
0
answers
543
views
How to fix access to XMLHttpRequest blocked by CORS policy in Facebook customer chat?
I have added customer chat plugin code generated by Facebook wizard on my otherwise empty page.
<div id="fb-root"></div>
<!-- Your Customer chat code -->
<div id="...
0
votes
0
answers
116
views
Facebook login button throw Sorry, something went wrong message
So basically I am here: https://developers.facebook.com/docs/facebook-login/web/ and I implemented the Full Code Example provided on the page which is:
<!DOCTYPE html>
<html>
<head>
...
2
votes
0
answers
326
views
Facebook JS SDK - Business Login (SUAT)
The provided Facebook login JS SDK works with User Login (User Access Token aka UAT) flow via "Facebook Login for Business" but not for the Business Login (System-user Access Token aka SUAT)....
0
votes
0
answers
440
views
Unsupported post request. Object with ID '###' does not exist, cannot be loaded due to missing permissions, or does not support this operation
We're attempting to use the Facebook nodejs SDK to create and manage ad campaigns, ad sets, ads, etc. We followed the guide in the Quickstart link of the Meta for Developers Marketing API section. Our ...
2
votes
0
answers
497
views
Facebook JavaScript SDK - OAuth Redirect URI Validation Issue when Exchanging Authorization Code
I'm currently setting up Facebook Login. I'm using the code response type and successfully getting back an authorization code.
Attempting to exchange the auth code with an access token on the backend ...
0
votes
0
answers
81
views
Instagram Send Message API
I have implemented the instagram messaging in my app. Using the below method:
https://developers.facebook.com/docs/messenger-platform/instagram
I have given the permissions which are mentioned in the ...
0
votes
0
answers
241
views
I couldn't send message through instagram send message API
While calling send message api from postman using the page access token is giving an error message like:
App does not have Advanced Access to instagram_manage_messages permission, and recipient user ...
0
votes
0
answers
162
views
Instagram send messege api returning "Please check if IG business connected to FB page correctly" error
I'm using meta graph api for sending message through instagram DMs. I'm using the page access token for sending the messsage.The api which I used for sending message is
curl -i -X POST \
"https:...
0
votes
0
answers
78
views
Facebook account is temporarily restricted due to unusual activity
I am using Facebook Ads API to create Facebook ads, optimise them and fetch insights for users. Normal Facebook login flow is used to get the user access token and this access token is used to perform ...
0
votes
0
answers
65
views
eCommerce product is not found in my Facebook Developer Account
I read that article https://developers.facebook.com/docs/commerce-platform/app-dashboard which says I can create a test eCommerce account by using eCommerce product in my Facebook app. You can see the ...
0
votes
0
answers
78
views
Facebook Ad Preview using JavaScript SDK Not Loading
Using the Facebook JavaScript SDK Ad Plugin with Marketing API v18.0 is not actually showing the preview.
I've added the domains the Facebook App settings.
In Firefox console is this message:
The ...
2
votes
1
answer
628
views
Facebook Login For Business - User Denied
We have created a new facebook app, using the product Facebook Login for Business.
The app is currently in Dev/Sandbox mode, our business has been verified and advanced access requested where asked. ...
0
votes
0
answers
34
views
Unable to retrieve facebook feed with valid IDs
I've been on this for a few hours now, i've read the docs related to what i'm trying to achieve and everything looks right... But it's not working.
I'm simply trying to retrieve a facebook page's feed ...
0
votes
0
answers
146
views
How to fix the inconsistent response status of FB.login method in React project using Facebook SDK?
I am working on a React project that uses the Facebook SDK, but I have a problem with the FB.login method. I want to authenticate users with Facebook, but the response is not reliable. Sometimes, when ...
0
votes
0
answers
169
views
Facebook embeded live iframe not starting on safari
I will make it easy to understand, thank you in advance for your time and support
If you follow the steps below:
1 - Go to a live on facebook, Press more options, then Press Embed
2 - Copy the code
...
5
votes
0
answers
1k
views
Facebook App Can't Submit Data Handling Questions [closed]
I am not sure why I can't submit these data handling questions for my facebook app. I am not able to contact their support and don't know how to resolve this. Does anyone know why?