Tuesday, March 2, 2010

Re: Facebook app pagination problem

Don't know if you still need this, but all you have to do is add the
following to app_helper.php in your app directory:

<?php
class AppHelper extends Helper {
function url($url)
{
$url = parent::url($url);
return "http://apps.facebook.com" . $url;
}
}
?>

BAM! And you're done!

On Jan 30, 2:42 pm, depi <erik.gye...@gmail.com> wrote:
> Hello,
>
> Is there any way to get PaginationHelper work when developing Facebook
> apps?
>
> I am sorry to as it so general, but I believe that everyone who
> developed for FB (FBML) encountered the same problem as me.
>
> P.S. I implemented the Facebook API to CakePHP following this articlehttp://facebook-developer.net/2007/10/18/building-your-first-facebook...

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: