Facebook api

hello guys,

i want to use facebook api for my app
any body have any idea…


Arun A.

Check out the rfacebook gem. The php code examples are more complete
then the rails one, so if you know php that is really useful also.

thanks for info but i wana implement in rails only.

any one have idea…

Thnks

On 12/06/07, Andy T. [email protected] wrote:

any body have any idea…


Arun A.


Arun A.

just install rfacebook gem and hpricot gem and done with wishlist app.
the
wish list sample works fine. but when i try to implement my app it gives
me
a eroor

thnks

On 12/06/07, Arun A. [email protected] wrote:


Arun A.


Arun A.

http://rubyforge.org/projects/rfacebook/

Whoops sorry… only saw the start of the thread…

If you set the callback URL to localhost:xxxx and route ‘’, controller
=> ‘home’, ‘index’ and create a home, index controller you can develop
from your local machine and even push to the profile. The docs are all
there, you just gotta play around a lot. Ping me if you need more
details.

have any idea how i can implement

On 12/06/07, [email protected] [email protected] wrote:

i want to use facebook api for my app
any body have any idea…


Arun A.


Arun A.

I would think that the callback would be from their servers, so you
would need a public IP in the return address.

Michael

Hmm,

I tried setting the callback to localhost:3000 and I get a:

Errors while loading page from application

The URL http://localhost:3000 is not valid.

Has anyone got this working from their local machine?

[email protected] wrote:

If you set the callback URL to localhost:xxxx and route ‘’, controller
=> ‘home’, ‘index’ and create a home, index controller you can develop
from your local machine and even push to the profile. The docs are all
there, you just gotta play around a lot. Ping me if you need more
details.

You have to add a trailing slash to that url in the application
settings page (facebook bug)

Strange.

Still fails for me, I get:

Errors while loading page from application

The URL http://localhost:3000/ is not valid.

When hitting the apps.facebook.com/myappnamehere

Andy T. wrote:

You have to add a trailing slash to that url in the application
settings page (facebook bug)

On Thu, 2007-06-21 at 19:25 +0200, guest wrote:

Has anyone got this working from their local machine?

Yes, as the callback url I use:
http://localhost:3000/test/facebook_callback

And after login I get redirected to this page.

Raymond S. [email protected]

On 21-Jun-07, at 5:42 PM, guest wrote:

When hitting the apps.facebook.com/myappnamehere

Andy T. wrote:

You have to add a trailing slash to that url in the application
settings page (facebook bug)

I may be missing something, but are you expecting that facebook.com
is going to route traffic to localhost:3000 ?

'cause that’s not gonna happen. You’ll need to find a way to route
traffic to your dev box.

Jodi

How to send message attachment in facebook developer app?
There is a Message Attachment configuration for the app, with Attachment
action and callback url.
How to use these settings and what to write in callback url so that user
can
send an attachment.

On 22/06/07, Andy T. [email protected] wrote:

On Jun 21, 2007, at 11:42 AM, guest wrote:


Arun A.

If you are developing an iframe facebook app, localhost:3000/ should
work just fine while you’re developing (you’ll be the only one able
to see your app with it set to localhost:3000/). If you’re using
fbml, then facebook has to contact that server, pull in the fbml,
then render it, and won’t be able to contact localhost. (you need an
external ip)

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs