Displaying 20 results from an estimated 300 matches similar to: "Error when posting facebook.feed.publishActionOfUser"
2008 Oct 15
5
REXML vs libxml
Hi all,
I''ve been looking at the performance of my fb app and one glaring issue
seems to be with the parsing speed of rexml in processing the results. Has
anyone looked into porting the facebooker parser from rexml to libxml? If
not, any reason I shouldn''t try?
Thanks!
Yu-Shan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2008 May 15
8
facebooker, respond_to and firefox 3 beta5/pre
Hi there,
I have a controller that responds to fbml and html, with html at the
top.
In all browsers, this works as expected - When I''m hitting the
controller from my normal app, I get html. When I hit it inside
facebook, I get fbml.
However, with Firefox 3 hitting the normal app, I''m getting fbml for
some odd reason.
Am I crazy?
Sudara
2008 Mar 18
4
respond_to formats, fbml and fbjs
In my controllers I have a respond_to block for both fbml and fbjs.
I created the fbjs mime type in environment.rb:
Mime::Type.register "application/javascript", :fbjs
However, even if I specify fbjs in a parameter name format during AJAX
post requests, it is being overwritten by Rails or Facebooker as FBML.
I confirmed this by placing logger.debug params[:format] immediately
before
2008 Jul 28
2
Profile updates using profile_main
Hi all!
I just updated to the most recent version of Facebooker from Github
and have been playing around with getting our FB app working with the
new Facebook design at www.new.facebook.com (using the "api: new"
option in the facebooker.yml file). As far as I can tell, everything
seems to be working as expected so far except I can''t seem to get our
apps profile box to
2008 Jan 31
3
presenting validation errors via fbml?
Hi Facebookers,
Is there a helper or suggested approach for presenting validation
errors on an fbml form?
Something to translate rails error markup to fbml:error markup?
thanks
Joel
2008 Jan 25
5
ajax with facebooker?
So if I am using fbml,canvas & facebooker, can I do ajax calls? if so
how?
From reading it seems they support some sort of mock ajax, but I
don''t really understand, can somone explain to me?
If I cant do ajax, can I still do javascript?
Can I use 3rd party libs like prototype & scriptaculous?
thanks
Joel
2008 Apr 08
3
Session Expired for Profile Publishing
Ok. I''m not having any success with publishing profile FBML.
Example code:
class WelcomeController < ApplicationController
layout "facebook"
ensure_application_is_installed_by_facebook_user
def index
@user = facebook_session.user
...
@user.profile_fbml = render_to_string( :template => ''welcome/profile'' )
end
end
Results in
2008 Jan 24
12
getting started with facebooker
Hi,
I started with rfacebook but given the recent events figure its best
to move over to facebooker.
I have:
1.) Installed the facebooker plugin
2.) setup my facebook app (fbml/canvas)
3.) created a method on controller & view to handle initial request
4.) added "ensure_application_is_installed_by_facebook_user" to top
off application.rb
I am able to get to my landing page
2008 Jan 10
3
A best practices question
Hey everyone. I''ve got a best practices question. How are you guys
rendering newsfeeds? We have a couple of apps where we send newsfeed
items from a backend process. As such, we aren''t in the context of a
controller and can''t use the rails template rendering. We''ve tried
about 3 different ways to make that bearable, but aren''t having much
2008 Apr 09
3
form_tag and form_for cause #protect_from_forgery errors
Hey All,
I''m trying to do a simple form_for (and I also get it with form_tag)
and I''m getting the following error:
ActionView::TemplateError (No :secret given to the
#protect_from_forgery call. Set that or use a session store capable
of generating its own keys (Cookie Session Store).) on line #2 of
users/new.fbml.erb:
1: <h1>Welcome To Courses, Let''s Get
2008 Mar 31
10
Problems with *_path() and *_url() helpers when using Publisher
Hello,
I am running into issues using *_path() and *_url() helpers the
Facebooker Publisher framework. I encounter the following error when
using these helpers while *inside of a partial*:
undefined method `default_url_options'' for ActionView::Base:Class
I''ve seen a few other people speak about this issue, yet I haven''t
seen any resolution on the mailing list yet.
2008 Aug 20
1
Facebook javascript (FBJS) library
I wrote an fbjs library to help speed up development of some of my
applications. I plan to have some sort of "official" release with a blog
entry and github repository at some point, but I thought you guys might want
to have it earlier.
It''s still a work in progress. I''ve been using every method at least once in
my application but it''s still possible there is
2007 Nov 02
1
Some proposed changes
I''ve got some changes queued up that I want to run by everyone before
I commit.
First, I''ve added a filter that sets the :format variable to "fbml"
when you are in the canvas view. That means with edge rails you can
use index.fbml.erb for facebook and index.html.erb for non facebook
requests and the right thing will happen. This is important for doing
things
2008 Apr 03
3
routes.rb definitions not working???
Hello Eveyone,
I am new here, and am have no idea how to setup routes in the routes.rb file
while using fbml. The regular
map.resources :gifts
map.resources :wishlists
map.resources :invitations
map.resources :comments
does not work.
This tutorial
http://rfacebook.wordpress.com/2008/02/04/quickstartfacebooker/
says to create a map.root, such as the one mentioned "map.root
2008 Mar 06
2
patches on the rubyforge tracker
Hi I just made some changes / additions for myself in facebooker and
posted the patches on rubyforge, e.g.:
https://rubyforge.org/tracker/index.php?
func=detail&aid=18639&group_id=4187&atid=16130
(adds support for fb:dialog FBML tag)
Is this the right way to do it?
--simon
--
http://simonwoodside.com
2008 Jan 25
8
simple routing & linking question
So I have an existing app & facebook app in same rails application,
for now I have decided to go the route of creating a controller for
facebook stuff (called FaceController).
(setup is canvas, fbml)
So I have:
facebook config
http://myurl:myport/face/
My controllers name is face, so I dont even need a manual route, for
the landing page it works like a charm.
but, when I try to make
2008 Jan 25
2
form formatting
If I want to use fbml elements and rails tags, is there a way to do
within a fb:editor?
if I do:
<% facebook_form_for(:task, at task,:url => create_task_path) do |f| %>
Assign Task To: <%= fb_friend_selector %>
<%=f.text_field :ttype, :label=> "Title"%>
<%=text_field_tag :newrnumdays, ndays, :label => "# Days"%>
2008 Jan 11
6
couple of newbie questions about redirects
I''m working on an app, and am new to both ruby and facebooker. Here
is my current area of confusion:
What should happen on a user''s initial visit to my app? When I hit
apps.facebook.com/<my app> for the first time with no cookies or
sessions or anything, I''m asked if I want to log into the app, etc.,
and am then redirected to my callback url outside of facebook.
2008 Apr 10
7
Facebooker and existing website?
Hi
I am trying to use facebooker with an existing website that already
has a model named ''User''.
I therefore created a model called BkUser for use with facebooker.
Also I have different controllers for all facebook requests.
I am using acts_as_authenticated for handling login etc for my website
and everytime a user is logged into my facebook app and tries to also
browse the
2008 May 15
3
Facebooker support for iframe apps
Hi facebooker-ers,
It looks to me like facebooker does not currently support iframe
facebook apps - or am I missing something?
My first problem as I understand it is as follows - When you are
logged into facebook, and access a facebook application,
facebook tacks on a whole lot of extra fb_sig parameters to the
request (including fb_sig_user) that the application can then
validate to