226 questions
0 votes
1 answer
47 views
What Does Tensorflow.js Use fbjs For?
I was looking over the Tensorflow.js dependencies and noticed that fbjs is included in the dependency list. What functionality requires fbjs? I'm not familiar with the package, but I'm aware that it ...
1 vote
0 answers
77 views
Re-asking for declined facebook permissions
What would be the proper way of re-asking user permissions? I am specifically interested in pages_show_list. There FB gives the user a list of pages to select from. Assuming the user would not have ...
2 votes
1 answer
3k views
Webpack error: Can't resolve 'fbjs/lib/EventListener'
I'm trying to add react to my existing web app. I successfully installed all required npm modules but after running npm run wbp command I got a lot of errors like: ERROR in ./node_modules/react-dom/...
1 vote
0 answers
418 views
Show line number of warning in React component
Is there a way to view the line number of the js file containing the offending <a>? This warning is produced by a package in fbjs which comes with React.
7 votes
1 answer
266 views
What purpose does makeEmptyFunction serve in fbjs?
I was looking through the React source and stumbled across a requirement with var emptyFunction = require('fbjs/lib/emptyFunction');. I looked at this function and was confused by what it does. Here ...
3 votes
1 answer
2k views
Import statement and Babel
I'm defining two constants using keyMirror from Facebook's fbjs. // file1.js import keyMirror from 'fbjs/lib/keyMirror' export default keyMirror({ CONST1: null, CONST2: null, }) then import ...
0 votes
0 answers
111 views
Post facebook feed picture
I am using FB JS-SDK FB.ui feed to post on Facebook but I am having issue with the picture I am posting. What I need is that the picture should look like the picture in image linked here (rectangular ...
4 votes
1 answer
6k views
Getting window is not defined on ReactJs
I am getting the error: "ReferenceError: window is not defined" on React. Below is my code: import React from 'react'; import styles from './Header.css'; import withStyles from '../../decorators/...
-1 votes
1 answer
515 views
Facebook App AccessToken on Client Side
Could Facebook page Accesstoken and Signed Request be exposed in client side aka javascript. ? is it a good option to store in db or in memory on server? FB.login(function (response) { if (response....
1 vote
2 answers
2k views
Show loading message before facebook like box loaded completely
Any simple way to show loading icon or message until loading Facebook like box on page. And hide message/icon after like box completely loaded on page. Snap: Code: <div id="fb-root"></div&...
0 votes
1 answer
174 views
White page when FB auth whilst in windowless iPhone mode with JQTouch
I'm trying to build a nice web app with jqtouch with a facebook login. Got it working up to a point. But when pulling the app to the iPhones's home screen (windowless viewing, jqt) and authenticate/...
0 votes
1 answer
688 views
Redirect back to facebook page tab after authentication?
im using drupal for facebook for my page tab app, and have a certain issue with it - after authentication, the user is redirected through a custom module, with the code below - <?php function ...
0 votes
0 answers
755 views
facebook JS API Login open in new tab instead of popup in IE 7-8
I have a website with facebook connect and a facebook page tab in witch the user must login to facebook. I use the JS API and it open a popup to let the user connect. It work fine everywhere but in ...
0 votes
1 answer
286 views
Facebook HTTP Request JS API Error on 0-278 channel facebook.com
Have anyone had this problem before using the Facebook JavaScript API for a page tab like-gateway and face long time waiting for this URL request: 0-278.channel.facebook.com! I'm not sure where to ...
0 votes
1 answer
1k views
Issues with Fb App Domains and Site URL:
I am trying to integrate facebook connect to all my websites. For example I have a website called example.com and many sub domains like, bob.example.com, claire.second.example.com, swiss....