All Questions
Tagged with facebook javascript
3,465
questions with no upvoted or accepted answers
12
votes
0
answers
710
views
Is there a non-minified dev environment for Instagram's embed.js?
When using Instagram's embeds.js which is minimally documented on their website, I get the error:
Minified exception occurred; use the non-minified dev environment for
the full error message and ...
11
votes
0
answers
3k
views
Facebook in-app browser not executing javascript
TL;DR version:
Part of JS code in Facebook browser does not execute with each page reload - only after several reloads.
The question: How to make Facebook in-app browser execute all JS code each ...
11
votes
2
answers
2k
views
Uploading base64 image to Facebook graph API via Javascript/Phonegap
I'm trying to make a "post" request to https://graph.facebook.com/"+userID+"/photos?access_token="+accessToken
with the 'url' paramter being a base64 data URI.
I got the error "data:base64.... is ...
11
votes
2
answers
2k
views
FB JS-SDK cannot detect user logging out of FB directly
TL;DR Facebook javascript SDK cannot determine the accurate login status of a user who has directly logged out from facebook.com underneath it.
I'm developing a Facebook app using the javascript SDK ...
9
votes
1
answer
2k
views
Facebook browser on iOS: problems with localStorage
Localstorage for our webapp (react) behaves strange when the site is opened in the Facebook browser on iOS and android. We have an authentication flow that depends on storing a token in localstorage ...
9
votes
1
answer
3k
views
Open website link outside of Facebook app
I already found a way to detect if the page has been loaded inside of the Facebook app, which is done this way:
var ua = navigator.userAgent || navigator.vendor || window.opera;
if((ua.indexOf("FBAN")...
9
votes
0
answers
2k
views
Facebook Sharing for SPA without server side support (hosted on a CDN)
I have a static website, an SPA hosted on a CDN - basically a
singe index.html whose content area is updated based on the hash in
the url. I need to find a way for FB sharer to show title and
...
8
votes
1
answer
2k
views
Tab events not showing on website, from Facebook API
I am embedding a Facebook events feed through their API to my website (I have a developer account and I am logged into it), however after using the Facebook plugin part https://developers.facebook.com/...
8
votes
1
answer
927
views
How to get Facebook live video instance without xfbml.ready?
I'm embedding a live Facebook video on my web page and need to place event handlers on the video. For example, I'd like to know if the video has been paused.
With regular videos (non-live) videos, I'...
8
votes
1
answer
642
views
Html2canvas: facebook plugin comments
I have a website witch uses facebook plugin comments. I'm looking for a way to have those comments inside a screenshot. If I use the simple html2canvas I get a blank box instead of them. So I try to ...
8
votes
1
answer
3k
views
How to embed custom HTML5 Player on Facebook post?
Thanks for reading my question
I've googled enough to die, to find how to embed custom HTML5 Player on Facebook post. I've seen Youtube, Soundcloud, (and recently Sketchfab).. links when share on ...
7
votes
0
answers
364
views
Facebook dialog sharing is not parsing emoji correctly
https://developers.facebook.com/docs/sharing/reference/share-dialog
The sample fb dialog sharing can be tested here.
http://www.fbrell.com/saved/2779dc018c325d85d650a3b723239650
FB.ui({
method: '...
7
votes
2
answers
686
views
Facebook Share Dialog deep linking from webapp
I'm succesfully using Facebook share method on my webapp like so using the FB JS SDK.
FB.ui({
method: 'share',
href: 'https://myapp.com',
})
However if a user access my webapp using mobile ...
7
votes
0
answers
3k
views
Opening page in facebook app only opens app itself
I have jQuery Mobile app, wherein I have a link to an associated facebook page. What I want to do is open the page in the facebook app if it's installed, otherwise open in the default browser. I ...
7
votes
2
answers
1k
views
Facebook messenger chatbot shows "Check your connection and try again."
Recently, I was trying to build a bot for myself. It works flawlessly when I'm using ngrok to test my bot locally, but when I deployed to AWS, I started seeing the error captured below occasionally, ...