All Questions
1,910
questions
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/...
0
votes
0
answers
171
views
How to implement appsecret_proof in jquery
I have already running Facebook login and then Faceook strikes with security questions and asked us to enable require app secret and until they limited our app and we were not able to login. Now we ...
1
vote
2
answers
581
views
Get text field and use it to build a Facebook sharing link
I am building a free utility to help mobile users share a YouTube video with a manually configured start time (YouTube does not offer this feature in their mobile website and apps).
The user pastes ...
0
votes
1
answer
827
views
opengraph dynamic images for Facebook, Telegram and Whatsapp
I have a travel site with a url like this one
http://www.mysite.tv/index.php?destination=somePlace
And when I share the url on Facebook, Telegram and Whatsapp I want to show an image for each ...
1
vote
0
answers
149
views
Chrome Extension Facebook messages
I am making chrome extension that open facebook profile send friend request and need to send message to that person. I am not sure how to implement facebook api or how to send facebook message to that ...
0
votes
1
answer
86
views
Using jQuery to have facebook like count
Since opengraph only provide those informations
array(2) { ["engagement"]=> array(4) {
["reaction_count"]=> int(1)
["comment_count"]=> int(0)
["...
1
vote
1
answer
36
views
Facebook, how does it use ajax and only update on the users side when called?
So how do facebook run the newsfeed?
Im trying to create something similar.
From what i have observed, Facebook does not use a $jQuery refresh to get get the updated newsfeed, the comments/likes are ...
1
vote
1
answer
121
views
How to select all checkboxes at Facebook's Publishing Tools page?
I have a facebook page and I need delete all posts but I can't because those too many posts.
I want select all checkboxes with js with console.
Example;
<div class="_88ly"><input ...
0
votes
0
answers
39
views
Login with facebook opening in other language
My website has feature to login with facebook. I created app as well and its working fine. Problem is when user press login with facebook, its opening facebook in indian language. It should be english,...
-1
votes
1
answer
133
views
href javascript button not showing
I am implementing a share function in my javascript. but the button link doesn’t appear, I’m really a beginner and researched but I couldn’t find out where I’m wrong, the button link just doesn’t ...
1
vote
1
answer
289
views
How can I use a function parameter to define a customEvent in facebook conversion API
I want to record in Facebook event manager which questions a user exits. Gravity Forms provides the function below; it runs your code block when a user moves to the next question on the form.
jQuery(...
0
votes
1
answer
121
views
Detect if a users Anti-Virus or Browser is blocking marketing tracking code like Facebook FBQ?
Is there a way you can detect in C# if a browser is blocking external marketing
tracking information like fbq?
In JQuery you can use typeof fbq !== 'undefined' to detect if the Facebook Pixel tracking ...
0
votes
0
answers
24
views
Facebook comment section will only load once [duplicate]
I've encountered a weird issue whereas the comment section on my website will only load when initially visiting the page, but not when you're using the navigation to revisit the home section.
All ...
1
vote
1
answer
548
views
How to select all check boxes on facebook content library
I have an old page with many posts/photos and I need to delete all posts/photos. I'm the creator of this page and. I need to select all checkboxes on this page.
I tried a few JS and jQuery codes in ...
0
votes
1
answer
362
views
How open facebook app on specific profile using jquery
i was tried everything, but nothing work. it always show me the main view on facebook app.
This is my code
window.open(`fb://{profile}`, '_blank')
I tried with other possibilities such as
fb://...
0
votes
2
answers
47
views
How could I tighten security for this custom Facebook login for Wordpress?
I've written this on a dev environment. I'm providing both a normal login with username and password, as well as a log in with Facebook button on my website
It's working great but I'd like to identify ...
0
votes
1
answer
134
views
Facebook review slideshow is not aligned properly on mobile - HTML CODE
I am having trouble aligning the HTML slideshow on mobile (I am using the embed review code from facebook).
For some reason, only the first review is shown aligned on mobile, but when the slideshow ...
0
votes
1
answer
36
views
Share Dialogues - Facebook SDK
Update - Edit
I'm very new to the idea of share dialogues and I'd like to incorporate this idea into my site.
I have a reaction timer game that displays the user's reaction time in seconds in a modal ...
0
votes
0
answers
72
views
Facebook SDK share with text and a variable
This is my first time using the Facebook SDK and I am finding it a rather large and difficult to navigate source.
I have my app ID and I am ready to go. I can get a share button to come up and open ...
0
votes
0
answers
407
views
How to embed Facebook Page or timeline on a website on page scroll event using jQuery?
I am trying to embed Facebook Page on a website, I am following https://developers.facebook.com/docs/plugins/page-plugin I am able to embed the and normal case it works fine, but my requirement is a ...
1
vote
1
answer
1k
views
Facebook, Uncaught Error: Tried to get element with id of "%s" but it is not present on the page
I am getting the below error when trying to execute a simple JQuery on browser console for Facebook.
Uncaught Error: Tried to get element with id of "%s" but it is not present on the page
Is this ...
0
votes
2
answers
751
views
Ajax Call Function - Fire Facebook Pixel Conditionally & Redirect To Thank You Page
I am having difficulty getting this portion of Ajax Call request on my form to work properly. A basic redirect function has been working, however I am trying to update the function to conditionally ...
0
votes
0
answers
28
views
Create facebook share button while concatenating
Im trying to create facebook share buttons like this
<!-- Facebook -->
<a href="http://www.facebook.com/sharer.php?u=https://simplesharebuttons.com" target="_blank">
</a>...
0
votes
0
answers
893
views
Facebook pixel missing content_ids
I am trying to use Facebook pixels AddToCart but get an error that says:
Missing content_ids or contents from 'AddToCart'.
I am using a click handler to try run this code. So, when the user clicks ...
0
votes
1
answer
557
views
How to get facebook's user's information with FB.login()
In my code, I am using the "FB.login()" function to log in the user. With the response variable below I have only access to the user's ID. Is it possible to retrieve the user's name and email?
This is ...
2
votes
0
answers
195
views
Intercept image upload (for Facebook) using Chrome extensions
I have Chrome extensions that intercepts to submission of new Facebook posts to check the content. For the text, this is pretty straightforward. If I press the "Post" button, for the resulting event e,...
0
votes
0
answers
48
views
Jquery load div with fb post one by one
I have a page with several facebook posts that I load with the code below (using fb sdk). However, the more I add reviews to the page the more the page takes to load, sometimes exceeding more than 10 ...
-1
votes
1
answer
134
views
How to automate button with javascript query for facebook?
I am trying to automate below facebook donate button with javascript query
Screenshot of Donate button
document.getElementById('pay_button').click();
but the problem is that i get a response as
...
0
votes
0
answers
63
views
Codeigniter: facebook messanger in site, fine with desktop and mobile phones also. But if fb app installed in mobile then cause blank page issue
I have integrated facebook messanger with codeigniter website.
everything is working properly.. for desktop and mobile phones also..
but if fb app installed in mobile, then fb messanger cause blank ...
0
votes
0
answers
99
views
facebook messanger icon included in website, want to hide "Login into messanger" popup when we close it. should not appear again during nevigations
I have included facebook messanger on my website..
Its working properly..
when we close "Login into messanger" popup of facebook messanger, then it should not appear during page navigations, after ...
4
votes
0
answers
3k
views
use facebook sdk on localhost. Must I use https?
I’m trying to write a web app where the users can log in with their Facebook account. The app should let the user log in through Facebook with a button and once he has logged in he’s redirected to my ...
-4
votes
1
answer
66
views
Click not triggered on Javascript function that submits to Facebook Pixel
The following code tracks the number of clicks on the element and then submits the result to Facebook Pixel. However, the event is not triggered for some reason.
Thought it's a variable scope problem,...
1
vote
0
answers
219
views
facebook messanger link sharing only working in mobile, not working for web
Facebook messanger share link script only working for mobile, not working in desktop web browser/desktop facebook messanger..
I found following link for web fb messanger, but its saying expired link.....
0
votes
1
answer
70
views
Trouble with Facebook Login API
So I'm trying to use the Facebook Login API but without using their SDK, but even when I've whitelisted all possible Urls it comes up with the error.
I've followed the guide on how to manually set it ...
2
votes
1
answer
264
views
Chrome 74 breaks work of a Chrome extension
I have a Chrome extension that downloads Facebook messages to the computer. After the latest update of Chrome (v.74) it stopped working.
I have created a test extension that will help you understand ...
5
votes
1
answer
2k
views
Facebook stops custom parameters (image,title,description) through FB.ui?
Today I check my site and this code not working:
<script>
...
FB.ui({
display: 'dialog',
method: 'share_open_graph',
action_type: 'og.likes',
...
1
vote
0
answers
218
views
Changing Facebook Metatags in SPA, but OG meta tag changes not recognized when shared [duplicate]
I have the following code to set for default Facebook meta info.
<meta property="og:type" content="music.song">
<meta property="og:title" content="cXc Music (Alpha)">
<meta property="...
0
votes
1
answer
2k
views
FBInstant.shareAsync() function doesn't work without any errors in facebook instant game Share button
I created a facebook instant game and in the end there's a share button, how to make that share button shares the result or a photo in a link to play the game on the player's profile.
Here's my code ...
1
vote
0
answers
873
views
Share and download links not working in facebook in-app mobile browser
I have three links which generate an image and then share the image on a page or download the image directly.
Unfortunately none of these links are working in facebook in-app browser. They seem to ...
0
votes
0
answers
689
views
FB.login using Facebook JavaScript SDK in mobile web browser opens new tab instead of native Facebook App
I have a website which uses FB SDK on JavaScript, the website calls FB.login and request permissions for an app which I have in Facebook(Facebook Apps), when a user click on submit button in web ...
1
vote
0
answers
89
views
window.open(blob, '_system') not working on facebook native browser
Is there a way that window.open will work on facebook native browser?
I tried it on 'html2pdf' but it doesnt work. I tried it on just a normal url, but it just stays.
window.open(blob, '_system')
...
0
votes
3
answers
223
views
How to manipulate like button on Facebook web page?
I'm currently building a chrome extension and I'm trying to get it to be able to stop a like on Facebook from going through even after the like button has been clicked. In my content.js, I currently ...
1
vote
0
answers
31
views
some pages of my web application required login,i am trying to share such pages on fb, twitter etc. then sharing preview showing login page preview?
some pages of my web application required login, when i trying to share such pages on facebook, twitter etc. then sharing preview showing login page preview??
my code snippet:
.....
.....
<li>...
-3
votes
3
answers
6k
views
how to get div content by role javascript
I'm trying to get feed content from facebook dom.
<div role="feed">
so i did that:
querySelectorAll($("div[role='feed']"))
like this:
get div by role
but it returns undifend result.
I tried ...
0
votes
1
answer
59
views
Facebook Page Plug-In not responding to data-height under certain situations
I am playing around with the Facebook Page Plug-in and am having a heck of a time with it. What I am trying to do is set the 'data-height' attribute of the plug in to be equal to the height of another ...
3
votes
0
answers
1k
views
Re-enable the console in Dev tools on facebook
On facebook if you try to use the Console via Dev-tools it blocks you from entering anything.
This was well laid out here: How does Facebook disable the browser's integrated Developer Tools?
...
0
votes
1
answer
1k
views
Facebook embedded video not playing on click
I'm facing problem with facebook video embedded on my post. My client wanted me to follow this method: https://medium.com/@BenBillups/facebook-video-embeds-that-actually-work-57037f8cdcf3
I've done ...
0
votes
1
answer
1k
views
Calling Facebook Pixel Code with the <noscript> programmatically? [duplicate]
How can I call the Facebook Pixel Code with the noscript programmatically?
The Facebook Pixel Helper extension seems to break when you separate the script and noscript code. Is there a way to wrap a ...
0
votes
2
answers
873
views
Adding rounded corners (border-radius) to a Facebook embedded stream?
Here's my HTML to embed a facebook page
<div class="fb-page" data-href="https://www.facebook.com/BLANK/" data-tabs="timeline" data-width="500" data-height="300" data-small-header="false" data-...
0
votes
0
answers
65
views
How to facebook share an image with text in a div
I have to share some text with an image in a div on facebook. I have tried this,
window.fbAsyncInit = function(){
FB.init({
appId: 'xxxxxxxxxxx', status: true, cookie: true, xfbml: true });
};
(...