0
votes
1answer
12 views

Getting Error while creating Facebook Friend Selector

I using tutorial to create facebook multi friend selector. Its not working and getting following error fb.login() called when user is already connected I understand that I should call FB.logout ...
0
votes
1answer
32 views

Accessing all Facebook Like buttons on a page using JQuery

I'm trying to write a script that can access all instances of the a Facebook Like button on a webpage using jQuery dynamically, but am having trouble figuring out the correct selector. The context ...
0
votes
0answers
7 views

Facebook App Request Dialogue not being triggered after Ajax load (Rails Turbolinks)

I cannot figure out how to get the Facebook javascript to load after a click event, which triggers an Ajax request with Turbolinks. I got the rest of my Javascript to work using, but this is just not ...
0
votes
1answer
88 views

Facebook jQuery Logout using Logout URL and Access Token

When a user logs out of my site, unless they also log out of their Facebook account, they remain logged in to my site. I'd like to comply with point 6 of this policy, so how can I log my users out of ...
0
votes
0answers
43 views
0
votes
0answers
36 views

facebook javascript api display “x amount” of group posts?

I'm attempting to display posts, which I clearly have set up as seen in my screenshot below. Only problem is it's displaying the same one more then once, not in correct order sometimes, and is just a ...
0
votes
1answer
53 views

Confusion over facebook JS SDK login

I have two seperate js files, domready.js and fb-jssdk.js. The jssdk handles loading the sdk and login. It returns the correct state from response.state when the user is logged in or not depending on ...
0
votes
1answer
86 views

Include Facebook's FB.api to jquery function

Is it possible to include Facebook's function postLike into jquery code below to work on button click or submit? function postLike(){FB.api("/me/og.likes","post",{object:"http://test.com/test"})} ...
0
votes
3answers
213 views

Large CSS background-image blocks Javascript while loading

From everything I've been able to find a large CSS background-image shouldn't block javascript from executing. Unfortunately, on both Firefox and Chrome this does seem to be the case. If I do a hard ...
0
votes
1answer
52 views

how to use Jquey event to trigger window.fbAsyncInit

I want to initialize the facebook javascript sdk and check login status after the user clicks a link on my index.html page. For some reason this wont work. The jquery is working, and when I test the ...
1
vote
1answer
46 views

Is there a way to initialise JS SDK For Every AJAX Page Load?

Similar to this question: FB.api only loads on first AJAX call to page Due to the structure of my site, pages are loaded via AJAX. Everything works fine except the second time the page with the ...
0
votes
1answer
159 views

Implementation of Facebook Connect - login/logout buttons

First time implementing Facebook login for me, and I can't get it to work properly. I'm implementing Facebook Javascript SDK, and what I've done is to place the js code provided in Facebooks guide in ...
0
votes
1answer
67 views

jQuery ajax error when sending data

I am trying to debug an error which is coming up when u run the following code. The ajax call simply carries a variable destroy which is a String. However, I am getting an error alert(xhr.status); ...
0
votes
0answers
93 views

Can't reopen FB dialog/popup after closing it

I'm having some trouble with the FB js API. I'm opening up the FB.UI dialog on a button click, which works fine, but if the user closes the dialog and tries to reopen it by clicking the button, ...
1
vote
1answer
142 views

jQuery $.get data doesn't appear in PHP $_GET

I'm using jQuery $.get to send some data to my PHP server as the example below: Javascript: var usr_data = JSON.stringify(window.fb_user); var save_data = { cmd : 'new_suggestion', ...

1 2 3 4 5
15 30 50 per page