Facebook, FB.ui() - An error occurred. Please try again later.

Kevin's picture
Facebook

[b]Q:[/b] Help, my code to post to Facebook wall via FB.ui() has suddenly stopped working, it now just displays this error - 'An error occurred. Please try again later.', what's happened?, it used to work just fine!

[b]A:[/b] In the last few days Facebook have changed their rules and you now can't call FB.ui() without first passing a valid appID to FB.init() when you call it.. So if you used to call FB.ui() without first registering an app then this may well be what's causing you the problem.

To get around the problem, just register an app up on facebook and then make sure to pass your appID when you call FB.init(). All you have to do on Face book is register the app and take a copy of the AppId, you don't need to do any other setup and configuration on the application.

Hope this helps, we spent a good bit of time this morning trying to figure out what was broken!

Share this post: 

Recent Work

Some of Ireland's biggest brands use Pride Design to Design, Build, Manage, Market and Maintain their websites.

Website design for St.Patricks Credit Union in Dublin, Including Loan Calculators.

Website design and development for a step by step wedding and other stationary ordering website f

New website designed and developed for Cork's newest café, which is based in Merchants Quay in Co

New Website design for Pain Relief clinic based in Cork City.

Website for a busy Dublin city centre pub.

We redrafted the Ballymaloe house website to modernise the look and feel of the site and to also

We revamped the website for the Ballymaloe Cookery School.

We revamped the Cully & Sully website onto Drupal.

Rachel Allen was brought up in Dublin and left home at eighteen to study at the world-famous Ball

Clóna Dairy Products are a Dairy Company based in Clonakilty, Co. Cork, since 1919.

Project Arts Centre is Ireland’s leading centre for the presentation and development of c