facebook

Is there a better acts_as_commentable for Rails?

Here's what I'm looking to do. I have a site where I want the user to be able to leave comments on various Models. acts_as_commentable is the obvious starting point for this, but I'm curious if there is a gem / plug-in with a more robust feature-set. For example: Pre-built partial(s) (w/ or w/o Twitter / FB buttons) Partial(s) that uti...

Facebook Graph API authentication in canvas app and track session

Short question is: how can i use graph api oauth redirects mechanism to authenticate user and save retrieved access_token and also use javascript SDK when needed (the problem is javascript SDK will have different access_token when initialized). I have initially setup my facebook iframe canvas app, with single sign on. This works well wi...

What should I use as my connect URL when using FB AUTHENTICATION?

{ "error": { "type": "OAuthException", "message": "Invalid redirect_uri: The Facebook Connect cross-domain receiver URL (http://www.beta.neighborrow.com/callback) must have the application's Connect URL (http://www.beta.neighborrow.com/callback/) as a prefix. You can configure the Connect URL in the Application Settings E...

Facebook Application

Can we join groups using facebook api, and post on them?? could not find anything related. any suggestions, or links. thank you in advance. ...

Facebook Javascript SDK's FB.ui Bug in IE8

hi everyone i have found a bug in IE8 using the new Facebook Javascript SDK. i call a Post dialog using: FB.ui( { method: 'stream.publish', display: 'dialog', message: 'test', attachment: { name: 'test', caption: 'test', media: [ {type: 'image', src: site_url+'test.jpg', href: site_url} ], description: ( ...

Greasemonkey script not executed when unusual content loading is being used

I'm trying to write a Greasemonkey script for Facebook and having some trouble with the funky page/content loading that they do (I don't quite understand this - a lot of the links are actually just changing the GET, but I think they do some kind of server redirect to make the URL look the same to the browser too?). Essentially the only t...

Authenticating / Authorising FB IFrame Application

Hi all, This is all too confusing for me at the moment. I seem to be going in circles. So here is my situation and my questions. I have an IFrame Application that needs to pretty much just run on the Canvas page. In this App, I wish to access certain user data (which I believe are beyond the normal set of permissions, thus requiring ex...

Can I count facebook fan like button click count on my site?

Hi, I add fb:fan control with facebook on my site. And it working properly. Can I count like button click in fb:fan control on my site? I tried following code with jquery but it doesnt work. Thanks $(function(){ $(".like_button_no_like").bind('click',function() { countClick(); }); }); ...

Facebook Javascript FB.api - callback not called on error

I've a problem with FB.api I'm making a call to create an event something along the lines of: FB.api('/me/events', 'post', { access_token: $('#access_token').attr('value'), name: td.find('#event_name').attr('value'), description: td.find('#description').attr('value'), start_time: td.find('#event_start').attr('value'), ...

Is it possible to run XMPP based PHP and Javascript Multiplayer Network Game in FaceBook?

Hi, let me introduce my story first. To develop a multiplayer network game in facebook, flash used to be a king but it consumes a lot of resources for client and I feel like it isn't worth for a card game. So I come with an idea that front-end will use Javascript (of course with jQuery) and backend with PHP. But for real-time communicati...

Facebook Like not Pulling Title

I am having some issues with the new facebook like button. It shows up fine, however for some reason it's not pulling the title of the page. I have the and I am using og:title, all are filled in, when I view the source of the iframe created on the load of he button, the in there is blank. I am also trying to put the tweetmeme and that...

Editing a User's Likes on Facebook

I've been looking at the Facebook API to find some way to edit a user's Likes (that is, add or remove items from https://graph.facebook.com/me/likes/). The API doesn't say anything about it specifically, but does say this: You can publish to the Facebook graph by issuing HTTP POST requests to the appropriate connection URLs above. ...

How to design an invite feature?

hello i am trying to implement a feature in my facebook application that would give 100 point to someone who would send 10 invitations. however i want a limit that feature for each user to use it only 10 times a day. how should i design my feature to do what i want ...

Facebook style hide|Delete

Hi, Can any one suggest any way to do facebook style, news feed hide, delete, without updating the page, or redirect. ...

Adding Dynamic HTML to Facebook's Fan Page

Hello, I am trying to add a new box on the main view of our Fan Page. And populate it with HTML from our main webserver (django) when the user opens the fan-page. Is there any way to do this ? ...

How can I connect to facebook chat using .net code?

Can I or How can I connect to Facebook chat using .net (not web code. C# vb or any other) code? ...

iPhone Face book sample code with oauth

Hi All, Is there any sample code for iphone to work with facebook using Oauth protocol. Thanks in advance Sathish ...

Add a wall post to a page or application wall as page or application with facebook graph API

Hi, I wan't to create a new wall post on a appliaction page or a "normal" page with the facebook graph API. Is there a way to "post as page"? With the old REST-API it worked like this: $facebook->api_client->stream_publish($message, NULL, $links, $targetPageId, $asPageId); So, if I passed equal IDs for $targetPageId and $asPageId I w...

Offsite data storage for simple app, or a similar supported persistence mechanism?

Question Is there a usable facebook entry point to the Data Storage API that facebook lists on their app admin page for developers, or should I consider an alternate mechanism? What alternative mechanisms exist to simply persist my information offsite (away from my server app) without stuffing it into a cookie that's prone to expire? ....

How does my php function for converting a date to facebook timestamp look? New to PHP.

any suggestions to make it better? function convertToFBTimestamp($date){ $this_date = date('Y-m-d-H-i-s', strtotime($date)); $cur_date = date('Y-m-d-H-i-s'); list ($this_year, $this_month, $this_day, $this_hour, $this_min, $this_sec) = explode('-',$this_date); list ($cur_year, $cur_month, $cur_day, $cur_hour, $cur_min, $cur_sec) = expl...