facebook

Change HTML SELECT OPTIONs using a json object in FBJS

I have a html select input with a default set of options (it has an ID). I also have a json object that looks like var replacement_options = {'value 1':'display 1', 'value 2':'display 2' .... How would I replace the options in the select with the values and displays from the json object using Facebook JS? (FBJS) ...

Can I upload photos but not post to wall in Facebook?

Can I upload photos using Facebook API but not post to wall in Facebook? What I use is the photos.upload in the API. If it cannot be avoided, is there any way to delete that wall post so that I don't have to do it manually? ...

Facebook Connect: proxied_email not always returned by users_getInfo

Today I realized that FB Connect does not return the proxied_email field in about 4 out of 5 times. (I can reproduce this with a single users repeatedly, so this obviously does not have anything to do with privacy options or permissions) It definitely worked fine last week ago. I could not find any official info that this field is goin...

Speeding up Facebook Connect

I'm working on enabling facebook connect with my website, and it seems to work pretty good so far. However, loading the facebook api library on every page of my site is bogging it way down. All the other php classes that I'm using compile in well under 1 second, but I'm seeing serve times ranging from 3 - 20 seconds just to get the faceb...

Developing Facebook Connect Javascript API on localhost

I'm trying to write some javascript functions to integrate with the Facebook stream. However they only seem to work if you are developing them directly on the live server so that Facebook can access the xd_receiver.htm file that they ask me to place at www.mydomain.com/xd_receiver.htm. However you all can probably agree that it's really ...

Does Facebook have a Gravatar like Service

I would like to use pictures from facebook if Gravatar does not have an image for the user on file. Can I do this through facebooks API? ...

Form Validation with FBJS

Hello, I've a form validation problem with FBJS to use on Facebook application. I checked out validation examples on documentation and I can check textbox values with form.serialize(); but unfortunetely I couldn't figure out how to check dropdown and checkbox values. Thanks in advance.. ...

What is the recommended scripting language for talking between Flash and facebook API?

Currently I have a flash based application (game) which I need to put on facebook, the users could save their scores and resume their game. For the task I was wondering which scripting language would be appropriate. And are there any API's available which could help me in the process. Or does one has to make all of it from scratch. ...

Where can I download facebook-actionscript-api for actionscript 2.0

The latest releases of the facebook-actionscript-api caters to actionscript 3.0 does anyone know from where can I downloaded an earlier version which supporsts actionscript 2.0 ? ...

Sudden "MySQL server has gone away" error in PHP site

Today one of my websites started showing Error Number: 2006 MySQL server has gone away It's a low-traffic client site running under Apache 2.2.9 (Debian), PHP 5.2.6-1+lenny3 (using CodeIgniter 1.7.1 framework) and MySQL 5.0.51a. I obviously reasearched about the error but all the possible solutions imply that there are big queries goin...

How to logout facebook connect user with Facebook Developer Toolkit?

How to logout or disconnect facebook user in facebok connect session? I'm using facebook developer toolkit. After using "connectSession.Logout();" method "connectSession.IsConnected()" is still returning "true". Have I done something wrong? EDIT: Now, I know that you can't logout user just from facebook connect site. User can be logged...

Facebook connect login problem

I am trying to have a connect button on my site. Once the user has clicked the facebook login button, the pop up will ask the user to enter the authentication detail and the parent window will either redirect or refresh the page and the login button became a logout button. My problem is when a user clicked the connect button from the po...

fb:swf not working

Trying to embed Flash into a HTML page using FBML tag fb:swf and I get this error. Tried looking around didn't work any ideas? Pretty stuck here FBML Error (line 5): illegal tag "body" under "fb:canvas" ...

How to request extended permission from a facbook fan page tab

I am trying to request permission to publish photos from a facebook fan page tab(iframe). I am calling Facebook.showPermissionDialog('publish_stream'); before the upload(which doesn't seem to do much) But I keep on getting this error when I try to upload a photo **caught exception 'FacebookRestClientException' with message 'Permission...

Fan count for a Facebook Fan Page

I needed to pull the fan count for particular fan pages on Facebook. After digging through the API, I couldn't find a way to do this with the API "proper." Instead I fell back to a FQL query, and it worked quite well. select fan_count from page where page_id = <FAN_PAGE_ID> What did I miss about the Facebook API. Is this the only w...

Twitter/Facebook API for Ruby.

I want to write a Ruby application through which: I can submit tweets to twitter. I can submit a post to facebook. I can manage real-time stats of tweets Is there any twitter/facebook api for Ruby? ...

How does facebook detect when a link as been PASTED

Facebook's status update input (well, contenteditable div) detects links. When typing a link it waits until the spacebar is pressed before fetching the URL. When pasting a link it fetches the URL instantly. I can already parse the url after the spacebar is pressed...but I'm not sure about detecting when content is pasted. Any solutio...

Email Hashes on Facebook

I have a question about email hash on facebook if the email address has been changed by the facebook user. My site stored the email hash to match with the facebook email hash to identify the user on our website is the same user on our facebook application. If a facebook user has two facebook account with different email address, and o...

Facebook Game Function, Optimizin a Call, and Loading Bar

I am attempting to make a Facebook game and trying to replicate a common function that I usually find in many other Facebook game (a call to my website and illusionary image that is a loading bar). I am not familiar with Ajax or Javascript so please bare with me. The function should do the following: User clicks on Button Animated Gi...

facebook fb:swf stops working when you load an as2.0 object in as3.0

Hi, I'm using the gskinner.com bridge to load and talk between a as2.0 object in as3.0 . The library works smoothly. If I upload the html it works smoothly. But when I embed it as using fb:swf on facebook, the as2.0 object stops loading, any clues? ...