All Questions
1,910
questions
67
votes
7
answers
50k
views
How to add a Facebook "Like" button to an AJAX driven page
I have trawled the net and Stack Overflow and have not found an adequate answer to this question. Before I start the trial and error process of finding my own solution, I thought I would turn to the ...
54
votes
6
answers
107k
views
Facebook how to check if user has liked page and show content?
I am trying to create a Facebook iFrame app. The app should first show an image and if the user likes the page, he will get access to some content.
I use RoR, therefore I can't use the Facebook PhP ...
49
votes
5
answers
38k
views
Using "share_open_graph" Facebook UI to create dynamic share dialog for quiz results
Summary: My problem is getting FB.ui, via the share_open_graph method, to create a customised share dialog that contains different title, description, and picture, based on the user's actions on the ...
40
votes
1
answer
2k
views
jQuery's drag and drop - reverse engineering Facebook's uiTokenizer on 'Arts & Interests'
I'm reverse engineering facebook's uiTokenizer using $.special.event.drag and $.special.event.drop and jQuery because jQuery UI's sortable / draggable is heavy and slow.
My question I think is ...
39
votes
3
answers
24k
views
Is there open-source code for making 'link preview' text and icons, like in facebook? [closed]
In facebook, when you share a link, a neat little preview is created with an image headline, and text excerpt. Here's an example..
Does anyone know if there's any open-source code (pref. php & ...
31
votes
4
answers
50k
views
fb login popup block
I am making using fb login feature but problem comming to me is that whenever I click on the fb login button before page media loading is completed, it blocks the popup for fb login but if I click on ...
25
votes
4
answers
21k
views
How Facebook link preview happens?
When you type a URL into facebook, it automatically comes up with the "post a link" feature. With most websites, it automatically loads a selection of images it pulls from somewhere in the page to go ...
23
votes
5
answers
43k
views
Attach a click() event to the FaceBook 'Like' button?
I'd like to do something on the page when a user clicks 'Like'.
I thought something simple like the following would work:
<script type="text/javascript">
$(document).ready(function () {
...
22
votes
8
answers
13k
views
Why doesn't facebook use jQuery (or similar)? [closed]
Facebook is heavily JavaScript based. Why doesn't it rely on jQuery (or any other similar library)?
Edit: Why close this question? this isn't subjective. facebook doesn't use jQuery (or any other ...
22
votes
2
answers
46k
views
Uncaught ReferenceError: FB is not defined
I know this question is asked frequently, but I have not found the solution.
I use this code:
open the html tag with
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://ogp.me/ns/fb#">
...
21
votes
10
answers
32k
views
How to make facebook comment box width 100% and responsive?
The same question http://stackoverflow.com/questions/10862256/how-to-make-facebook-comment-box-width-100
I tried all the answers, but it doesn't work anymore. Looks like Facebook changed some stuff a ...
21
votes
5
answers
18k
views
Is there a way to programmatically check if a user shared a link on Facebook?
I'm currently using jQuery to record each click on a Facebook share link on my site, but I'm looking for a more accurate solution. Instead of recording the clicks, I'd like to record the actual "...
21
votes
5
answers
22k
views
Facebook Login: How to combine JavaScript with PHP SDK?
How do I go about combining examples from both
https://github.com/facebook/php-sdk/blob/master/examples/example.php and
https://github.com/facebook/connect-js/blob/master/examples/jquery/login.html
...
18
votes
3
answers
67k
views
Open Facebook Share in a modal pop up window or standard pop up window
I'm trying to get my Facebook share button to open up in a modal window (a bit like lightbox opens images), but so far all I can get it to do is open in a brand new window, which I don't want.
I've ...