Skip to main content

All Questions

Tagged with
0 votes
0 answers
26 views

SyntaxError: Unexpected token '' when parsing JSON response from Facebook API

I'm integrating Facebook login into my website using the Facebook JavaScript SDK. When users click on the "Login to Facebook" button, I'm getting the following exception: SyntaxError: ...
Ali's user avatar
  • 19
0 votes
0 answers
26 views

How to use or forbid async functions for Facebook web SDK

Recently I've switched an app from compiling async functions to just letting them use the normal async syntax... but I've started to get Expression is of type asyncfunction, not function from FB. sdk ...
Gabriel Rohden's user avatar
0 votes
0 answers
31 views

FB Pixel: Problem with IP address in production mode

I'm currently setting up the FB Pixel for the first time (next.js). In development mode everything is working as expected and correctly. My problem is production mode: I found out that the user ip ...
Ewax_Du's user avatar
  • 355
0 votes
0 answers
17 views

Get Facebook custom events associated to a pixel

I've been trying to get all the custom events that I create to using on my application, so far I have not found a way to so. These are the events that I am trying to get to use on my UI. I have tried ...
Guilherme Barros's user avatar
0 votes
0 answers
40 views

Facebook Share Button on Wordpress Blog not working

I am having problems integrating the FB share button. I created a small quiz game on my blog (https://usa-reiseblogger.de/us-bundesstaaten-quiz-usa-wissen/) but somehow the FB share button (which ...
Kaizen502's user avatar
0 votes
0 answers
18 views

Firebase - Not receiving the Facebook Oauth 2.0 popup consent form, only signed in automatically

so I've had this problem for a while. If you take a look at my screenshot, you'll notice I dont recieve any identifier and also the email of the user, I am suspecting its because the consent popup to ...
Andre Korosh Kordasti's user avatar
0 votes
0 answers
96 views

PWA project help. Users who have installed it jump to the application to open it

PWA project help. Users who have installed it jump to the application to open it. I try to use **function isPwa() { return window.matchMedia('(display-mode: standalone)').matches } ** Determine ...
aisa huhai's user avatar
0 votes
0 answers
37 views

Facebook JS SDK not returning Email address

This looks like a common issue, although I've spent an entire day on it and cannot get the Facebook JS SDK to return my email. I've set my email address visibility to public, unlocked my profile and ...
AdheneManx's user avatar
0 votes
0 answers
270 views

Facebook login issues with OAuth flow

I am attempting to implement Facebook login. I can do the login flow with just URLs and curl, so I know my app is set up correctly in meta developer. This simple URL returns an auth code, it works: ...
user198222's user avatar
1 vote
1 answer
52 views

Set auto-width for embedded facebook posts

I am working on a simple HTML/CSS/Javascript + jQuery app that displays embedded facebook posts based on data returned by an API. Everything is working nicely, except I'm having a hard time setting ...
Mickey Vershbow's user avatar
0 votes
0 answers
75 views

Facebook Login OAuth Flow without SDK

When I use the connect.facebook.net/en_US/sdk.js and call FB.login() I get a login/auth popup window. When someone logs in, the window closes, and the callback function supplied to FB.login is called ...
John Michael Law's user avatar
0 votes
0 answers
50 views

Javascript / Dynamically append text element above embedded facebook posts

I am building an HTML/CSS/Javascript application that dynamically embeds facebook posts based on an API that returns a list of facebook post ID's. I loop through the post ID's, generate an embed code ...
Mickey Vershbow's user avatar
0 votes
1 answer
94 views

Scroll the people list in Facebook list doesn't work when mouse cursor is not on scrolling bar

I would like to scroll down, up to the maximum end of the scroll on https://www.facebook.com/friends/requests page, but I quite don't understand how it works here. When I scroll by myself my cursor ...
brandosizusz's user avatar
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 ...
swapn652's user avatar
0 votes
1 answer
110 views

Is it possible to get GTM to trigger when only coming from Facebook

I'm working on a project where I need to trigger specific Google Tag Manager (GTM) events only when a user is coming from Facebook. The goal is to track certain actions (e.g., InitiateCheckout) in a ...
Ethan Jarrett's user avatar
1 vote
2 answers
296 views

Why does facebook business login for instagram get stuck at connect to instagram?

I'm trying to implement facebook business login for instagram. Below is my constructed url and the href tag calling that URL. However, the flow gets stuck at connect to instagram with the error Failed ...
Innocent's user avatar
0 votes
0 answers
49 views

Facebook share sdk never giving response for mobile devices but works fine on desktop

I am using the Facebook SDK to share a post on Facebook and receive a response from Facebook indicating whether the post has been shared or not. If the post is shared, then I want to display a ...
Neha Gawali's user avatar
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 ...
SKB_BGPL's user avatar
  • 113
0 votes
1 answer
174 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 ...
SKB_BGPL's user avatar
  • 113
0 votes
1 answer
756 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/...
Suhas Bhattu's user avatar
0 votes
0 answers
52 views

Facebook Marketplace Auto Input Text Problem

I am trying to input vehicle information in Facebook marketplace Model input, in the browser console with javascript. I am unable to focus, select, or click I can change the text of the input value ...
echobro's user avatar
  • 11
0 votes
0 answers
59 views

Error When Adding Facebook Messenger Plugin: Content Security Policy Directive Violation next js app

I am integrating the Facebook Messenger plugin into my website, but I encounter an error related to Content Security Policy (CSP). When I add the code snippet for the plugin, the following error ...
lazaru's user avatar
  • 13
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-...
tinnick's user avatar
  • 376
0 votes
0 answers
160 views

How to authenticate with facebook login using Firebase authentication on iOS in react native?

I am trying to authenticate with facebook login using Firbase authentication in react native and getting this error below on all IOS Device using the module react-native-fbsdk-next Firebase: Bad ...
manny's user avatar
  • 405
0 votes
0 answers
129 views

Facebook/Instagram android in-app(webview) browser won't allow access to the microphone in my web app

I'm building a speech enabled web app using vue.js, so far it works perfectly on major browsers and devices like Chrome, Safari, Firefox, Opera, etc however if someone accesses the link from Facebook ...
Uba A's user avatar
  • 1
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> ...
paulalexandru's user avatar
2 votes
1 answer
89 views

How to use with Facebook HTTP_REFERER (with php)

I would like to know how I can use this method so that if someone clicks on my website through a post on Facebook, it goes to another page, using HTTP_REFERER, and if possible, have cookies so that it ...
Segatto's user avatar
  • 29
2 votes
0 answers
325 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)....
James Pham's user avatar
0 votes
1 answer
160 views

How to easily stop Facebook "ads" showing up in the feed by only using JavaScript?

When scrolling on Facebook feed, there are loads of "suggested" and "sponsored" posts... anyone could find a simple and neat way to stop them from showing up by only using ...
Atti's user avatar
  • 39
0 votes
0 answers
31 views

How can I share text or content to facebook using JS

I've developed a website featuring various posts, each equipped with share buttons for different social media platforms, including Facebook. However, I'm facing an issue with the Facebook Link Sharer ...
rivrez's user avatar
  • 1
0 votes
1 answer
335 views

Get data from Facebook Event Page

I am trying to programmatically retrieve data from a Facebook Event. For example, by using a url like so: https://www.facebook.com/events/ I would like to get data like: title, description, start time,...
Ardel ALegre's user avatar
0 votes
0 answers
67 views

How to make Messenger open my website in a browser instead of its webview?

My website uses Google OAuth login and my visitors complain that they cannot login. The reason is that they receive the link in Messenger and FB opens urls in its own webview and not in a browser (...
Barney Szabolcs's user avatar
0 votes
0 answers
111 views

Instragram Login using Api , But give me erroe

i need a help in Instagram login , i am not able to login give me some error i try but not solved `*Api Service in Angular * private apiUrl = 'https://api.instagram.com/oauth/access_token'; private ...
Ramneet Kaur Sidhu's user avatar
0 votes
1 answer
122 views

Trouble Getting Browser Extension to Control Playback Speed of Facebook Videos

Description: I'm developing a browser extension with the sole purpose of adjusting the playback speed of videos on Facebook pages. The extension functions flawlessly on other websites, however, I've ...
Abderrahmane Rhiabi's user avatar
0 votes
0 answers
137 views

Facebook login through Facebook messenger webview doesn't respond

I have a web app that uses Facebook login, everything works fine on web browsers on phones. When users access my app through links in Facebook messenger, the facebook login doesn't respond and I am ...
Nir Tzezana's user avatar
  • 2,303
0 votes
1 answer
79 views

Javascript- Post customized content on LinkedIn/Facebook other than Meta Tags

I have seen many solutions for sharing on LinkedIn/Facebook. But in those solutions, the content being shared is static, that is the content we are mentioning in OG tags of our index.html file. But my ...
Shriram's user avatar
  • 141
0 votes
1 answer
346 views

Facebook JavaScript SDK - Login not working in Brave browser

I am trying to implement Facebook JS SDK in my React application (created using create-react-app) but unfortunately the login is not working in Brave browser. The login window opens up fine however I ...
Gaurav Mantri's user avatar
1 vote
0 answers
366 views

Shopify/Facebook unused JavaScript issue

When running page speed analytics on my site, I've noticed that under the 'Reduce Unused JavaScript' suggestions, that there is a facebook JS running: https://connect.facebook.net/signals/config/...
BebopVox's user avatar
0 votes
1 answer
587 views

How to programmatically disable or avoid closing gesture on webpage that is running inside Facebook webview on iOS

I have webpage that majority of traffic coming through Facebook webview. On this page I have Swiper component edge to edge. Unfortunately, users are not able to swipe left because webview has the same ...
makbol's user avatar
  • 310
1 vote
0 answers
108 views

Facebook persistent menu not showing in Messenger (chat bot)

I'm trying to develop Messenger bot on NodeJS, that would: Create persistent menu Postback message replies The issue I'm facing is that the persistent menu only showing for myself (on Desktop and ...
EimantasV's user avatar
0 votes
2 answers
1k views

Error "Sorry, something went wrong." while logging in facebook laravel

I have implemented authorization through facebook using laravel. When I am on the site, and I click on the authorization button via facebook, then there is a redirect to the page with the error "...
Артем Дорошенко's user avatar
0 votes
1 answer
124 views

How can I change a Facebook post using JavaScript while in editing mode?

I want to change the content of a Facebook post in editing mode. What I expect is that after selecting the text in editing mode, I can modify it using JavaScript. The HTML code of facebook post is ...
Jia-Hung Lin's user avatar
0 votes
1 answer
588 views

Facebook search api to get Id of pages by searching name

I am using the Facebook api, endpoint "search", to get id of any page that i search. API URL: https://graph.facebook.com/search SEARCH_PARAMS: access_token: [User access token] q: "...
KhizziP00L's user avatar
0 votes
0 answers
126 views

How can I run a script on the developer console on a site which blocks it?

I want to use JQuery on the developers console when accessing the facebook website. However, I get this following error: Refused to load the script 'https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/...
Stackcans's user avatar
  • 351
1 vote
0 answers
2k views

Why does Instagram user agent change slightly?

I’ve been seeing some requests to my site where the user agent has Instagram in it, but the user agent changes slightly from the same IP and also the cookies then change. The only thing that changes ...
Adam Thompson's user avatar
0 votes
0 answers
79 views

How to fix 'Invalid App ID' error in Facebook SDK Share dialog with non-developer account?

I have made use of facebooks sdk to use their "Share" dialog. I created a button that once clicked, opens up a window which allows the user to select reciepients and add a message if they ...
bryan-tekker's user avatar
0 votes
0 answers
1k views

How to encrypt plain text facebook password into the encrypted format before it is sent ? (#PWD_BROWSER)

Facebook encrypts plain text password before sending it as a login request to the server eg when I login with random login credentials: This is the post request body sent , the email used is test12345@...
vidgusting's user avatar
1 vote
1 answer
727 views

Facebook webhook signature calculation failing

I am developing an application that uses Facebook Webhooks to receive payload from Facebook. For each call, Facebook provides a signature that I need to validate to ensure the payload's integrity and ...
Vatsal Arya's user avatar
1 vote
0 answers
606 views

How to make PageView event from Facebook Pixel work properly with Partytown?

I am trying to implement Facebook Pixel on a WordPress site using Partytown. This is what I have done so far: 1 - I created a simple reverse proxy using PHP based on this repo: $whitelist = 'http://...
churros's user avatar
  • 419
1 vote
0 answers
102 views

Facebook PageView event ignore if anchor changes but url remains

so I'm currently loading to my page head the facebook pixel code and automatically sending a PageView event after its loaded but for some reason its tracking anchor changes when I would like to avoid ...
DeadSec's user avatar
  • 848

15 30 50 per page
1
2 3 4 5
176