facebook

Formatting a date for output

How I can format a date string using Javascript. For example: var date_str = "2010-10-06T03:39:41+0000"; The result should be like this: 11:39 AM Oct 6th Is there any ideas on this? Note: date_str is an example of returned date from Facebook Graph API. Thanks in advance. ...

Not able to pull more than 100 comments per post

We are trying to get the data from facebook. When trying to get all the comments using the fql query facebook is returning less than 100 comments per post. Following is the fql query used. SELECT text,id FROM comment WHERE post_id in (select post_id from stream where source_id=**** and actor_id = ****) also tried SELECT text,id F...

I want to select who can view comment posted on a website through FB comment box to my wall

In my facebook profile I arranged groups, so I can select to which group each post is visible. If I post a comment on a website through facebook comment box and check I want to post comment also on my facebook wall, selecting groups is not possible. Even if I go to my wall - the only option is to delete post from my wall. I want that p...

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...

Sending Facebook messages through their API - possible?

I'm building a web app for a client where members of general public can create an account. Client would like to be able to use my app to send Facebook messages to those members. Note that my app is a standard LAMP site and NOT a facebook application, nor is there the desire to create one; delivering messages to members' FB inbox is the...

facebook connect form iPhone app

Hello, I am trying to integrate facebook connect to my iphone app but I have an error (code 10000): did fail: The operation couldn’t be completed. (facebookErrDomain error 10000.) when In try to update my wall. The code seems pretty simple (I had to struggle to find some doc though), but... - (void)viewDidLoad { [super viewDidLo...

Is there anything out there that will make it easy for me to allow my users to share their Facebook photos (and videos) on my site?

I see a bunch of .NET open source projects out there that look to be able to get at the users information, but I just want a user to be able to "post" media that's already on Facebook on my site as well. Other websites seem to allow you to do embedding of their media (I'm really liking oEmbed) but FB seems a bit of a mystery to me. I h...

Facebook API offline documentation

Hi, I had been doing a little bit of facebook app building as a hobby about a year and a half back. I know they keep updating and adding and removing things all the time. I will be travelling for a few days(can't use my laptop), so, I want to use this time to brush-up my skills on fb apps. I'll be print out the material you guys suggest...

Losing Facebook context parameters when redirecting

I'm moving my client's facebook application over to an iframe, as suggested by facebook. Except, I seem to be losing facebook's provided "context" (userid, etc) when I perform an internal redirect. Am I missing something trivial here? Pulling my hair out over here and googling isn't helping. I'm really hoping I don't have to use js to r...

Can Facebook's Javascript SDK work together with the older Facebook API?

Can the current Facebook Javascript SDK work with older Facebook API library? Right now there is code to load the current Facebook Javascript SDK by: window.fbAsyncInit = function() { FB.init({appId: '218565466928', status: true, cookie: true, xfbml: true}); }; // [...] initialize it And there is code to use the old ...

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 ...

Pre-existing session required for handler method xxxxx

I am getting this exception when I authenticate a user on facebook and facebook redirects to callback... Before sending the request to facebook, the session is there but on calling the callback it creates a new one? I am using MultiActionController of spring and session is the 3rd param of the method signature. Would I need to use coo...

how to embed like button in static fbml page

hii, i want to embed a like button either using image tag or fb social plugins to let it work same as like button does in my static fbml page.i read somewhere that it can be done with the help of iframe and javascript ,can anybody provide me the code how to implement this on my landing page .I tried with fb:iframe tag also but it didn 't...

Image editing using Facebook API

Hi, I am developing an Facebook app that lists photos from user's Facebook account. My app also allows to edit the photos listed. Now, I want to sync the edited image to user's account. i.e. I do not want to upload the edited image as separate image; rather save it as edited image in his account. Is there any Facebook services availabl...

Uploading video from facebook to youtube ?

I have a requirement to upload a facebook video to youtube. The idea i have in mind is to create a new facebook application in which the user will select from his list of facebook videos to upload to youtube. However, is such an application possible ? Can i upload a video from facebook to youtube directly ? If not, is a workaround po...

How to add newlines or carriage returns to description on facebook graph API

It sounds like a pretty simple question but I can find the answer no where. I have a post from a textarea. and I want to use the current facebook php library to do the following... $description = $_POST['textarea_description']; //magic happens $attachment = array( 'access_token' => $token, 'message' => "$title", 'picture' => "$ima...

Does Facebook tabs allows us using things like this getURL("facebook.com/example","_self")?

I have to make Flash tab on Facebook. There should be links in it, to other tabs(like: images, wall, videos etc). I'm using actionscript 2.0. getURL("facebook.com/example","_blank") is working perfectly, but I have to use "_self". Does Facebook allows developers to use this function? Thank you David ...

Download PhotoAlbum from Facebook

Hi All, I have an photo album that I have uploaded to facebook before , and I need to download it back , but it's too boring to download it one by one so can any one tell me if there is any ready API to do that , or can I make it my self and how can I make it ? Thanks in Advance ...

Ensure jquery and FB JS SDK are both initialized

I am using the FB.ui method to publish something to the users wall and want to capture whether the user published or cancelled. To do this I am calling a function (say bi_published(){...}) which updates a table in the db which is being used to capture metrics. It does this by making a $.ajax call. The issue is bi_published has to be with...