facebook-connect

Facebook Like Button Not working: Error unterminated string literal

I am trying to implement the Facebook Like Button but its not working. In short I can press the like button and it will say that I liked this. But nothing comes up on my profile and when I post a comment, nothing happens. It is also creating a javascript error: "Error unterminated string literal". Here's the page I have it implemented o...

Facebook session key using the old rest api

Hi guys, I know this should be on the facebook developer site but I can't seem to register. Anyway I'm using the new api to obtain a access token when connecting to the xmpp chat server but this access token doesn't work; I have to use the old rest api's 'session_key' but I can't seem to find a way to get it. Could someone help me? I ...

Facebook connect not returning the session in the expected format

I've been trying to add Facebook Connect to a website, but it didn't seem to get the user id after logging in. So, after a bit of checking around, I discovered what seems to be the problem: The facebook library expects $_REQUEST['session'] to exist (in the getSession() function), but when I output the $_REQUEST, I get this structure: A...

Invite friends from facebook on my application using facebook api

Hello all, I create a application which allow user integration through facebook(connect with facebook).when user sign-in in application , i want to show all facebook friends of sign-in user for invite them to join my application. In current i am using multi friend selector for invite friends. <fb:serverfbml width="615"> <script type="...

Can i get facebook user information in a specific Locale via facebook connect?

I'm using facebook connect to let users login my application easy. It works well, but, after users allow me to get their facebook info as email, birthday, gender and so on, facebook gives me back these data in user's specific locale. So, if a user has facebook in english i'll get {"gender" : "male"}, and if a user has facebook in italia...

facebook SDK roles management

is there a way to get the list of currently listed developers on a face book connect application i want to use this to validate if a user is authorized to sublmit new contenet and create events through the connect website or do i need to couple this with a forms authorization account to handle permissions or is there a better way over ...

How to check is website visitor fan of my facebook page?

Hi,can someone help me please how to check is visitor on my website fan of my facebook page,thanks in advance. Regards ...

FB.login issue, need to show lightbox instead of pop-up, Javascript SDK, iFrame Application

Hi, I am developing a facebook iFrame application which would be embedded inside a facebook page. I have chosen iFrame as FBML is deprecated by facebook. My application is ready but I am facing a small problem when FB.login is called, a popup window appears. My application requirement is that whenever its loaded, it should check whethe...

Integrating Facebook to the leads to blank pages on some browsers / fb_xd_fragment

On my site http://colnect.com I've implemented the "Facebook login" button and on some pages the "Facebook like" button using FB's new JavaScript API. It all appears to be working seamlessly on ff/opera/chrome etc. It seems like a problem with Facebook's JavaScript API which happens on some browsers (I've gotten reports for older IEs an...

400 bad request when requesting Facebook access token

I'm getting a 400 bad request error from Facebook when requesting an access token. My return_uri includes a query string parameter which is causing the problem. I've encoded the return_uri but I stil get the error. Can anyone help me with this? Here is the request I'm sending to Facebook: "https://graph.facebook.com/oauth/access_token?...

Facebook 'secret' value, or Authenticating an app after facebook login / registration

I have an existing Spring application which I wish to also allow users to register / sign in through facebook. The facebook sign-in is working fine, and is currently executed from the client using the Actionscript-Facebook API ( which is essentially a wrapper for the Facebook JS API). However I'm unsure as to what is an appropriate app...

Facebook connect button

Hi folks, I can't seem to find how to generate the classic Facebook Connect button: all I can find how to generate is the following: I'm using the documentation here http://developers.facebook.com/docs/guides/web Any ideas? :) ...

Best practices with Facebook Connect logout?

Hi folks, I'm building a web app with Django using Facebook authentication. Now I have encountered a problem with the logout. Do developers usually hide the default logout link? It is quite tricky coming up with the logic of implementing a logout while a user is connected to a facebook acount, which is still logged in. Any ideas?...

How to get permission ?

I have create a simple facebook application. Now I want to get permission for read_stream. I have read a lot of documentation but I don't understand. Could you tell me how to get this permission with PHP or javascript ? Edit: I have used this source code ( you can se it working here ) but doesn't work because I get only basic permiss...

facebook like button larger size

Hi, is there anyway to increase the size of the fb like plugin? thanks. ...

How to get the best performance from facebook canvas authentication

Hi Facebook document that you need to do the following for canvas login Include facebook library Instantiate class with App Id and secret Check that the user has a valid session If they do check also that you can get there user object by doing an api call /me If they dont then process the login redirect All this especially the Fac...

Event Time displaying incorrectly for my Facebook event (submitted via Javascript)

I am currently writing a site that interacts with Facebook and creates events for users. I am using Javascript to submit the event, which is submitting successfully. The problem is, the time that is displayed on Facebook is way off from the time I am submitting. Here is my code: var event = { start_time: '{{ show_time.start_time|...

FB Iframe App: Use different stylesheets depending on whether the user views the app through my website or through Facebook

I'm developing a facebook app which can be viewed in an iframe on Facebook itself, or as a standalone site (the line between Facebook Connect and iframe apps seems to have blurred...). The stylesheet I have now looks good on my site, but doesn't look right when viewed through the FB iframe (probably b/c the browser screen is much bigger...

Can you use Facebook's old Javascript SDK and new Javascript SDK on the same webpage?

Can we use the old and new Facebook Javascript SDK on the same webpage? (the old Javascript SDK is used by the "Login with Facebook" and "Share" button. The new Javascript SDK is to be used by the "Like" button) The old Javascript SDK is included by Facebook's FeatureLoader.js.php xd_receiver.html docs: http://developers.facebook.com...

Asp.Net MVC: Can't delete Cookies that I get after Facebook Connect

I implemented Facebook-Connect successfully and Im able to retrieve User-Information using the Facebook Toolkit. But I cant sucessfully logout. When I press the facebook-Logout button (which automatically appears when Im logged in, because im using the autologoutlink-property) <fb:login-button autologoutlink="true"></fb:login-button> ...