You are here:

Joomla CMS/intergration between FB and joomla!


QUESTION: before the question, here is the background.
1. Joomla! 1.5.23, php 5.3.6, ChronoForms V3.1 RC5.2
2. custom a php program to get access to my facabook page by using facebook-php-sdk.
3. The php program divided into two parts that get authorization and upload photos to FB page.
4. The php program can get the valid authorization to access facebook page but last to few hours only.

The question is why the same php program cannot get the valid authorization when run it in chronoforms? however, the php program still can upload photo to FB page after run the php program outside the joomla! (of course within few hours).


It is difficult to answer this question without having had a detailed look at ChronoForms. Some ideas what might cause this:

- Can you somehow check with a debugger if the php code entered in Chronoforms is absolutely identical to standalone? Pasting any code manually is always error prone and there may also be limitations in what the Chronoforms user interface accepts.

- I'm not sure what method your script uses for the APi call, but either curl or fopen may be limited when called from eval

As mentioned, it is best to identify the exact issue with a debugger. Hope this helps.

---------- FOLLOW-UP ----------

QUESTION: Hi Jochen,

many thanks for your rapidly response. Yes, I am understand that this is a board range of question. I trust I am not the first to encounter this problem thats why raise up this question. I hope someone can share his experiense, like you, on similar problem.

I bet the problem is caused by joomla! "not allow" to get return from facebook. This kind of "not allowd", of course, is including my poor programming skill.

I don't know how to run debugger within chronoforms even joomla! could you give me some advise.

Kevin Lam

Hi Kevin,

thanks for getting back quickly.

You are right, there could be Joomla parameter filtering, which may stop some data flow coming from Facebook. However I'm sure this could be somehow adjusted.

In terms of debugging, can you put



echo JRequest::getVar('eachvariable').'<br /'>;

//by eachvariable I mean each url parameter or post parameter that is sent from the Facebook API back.

into components/com_chronoform/chronoform.php

If any of these variables that you get out of JRequest::getVar is different from the var_dump output above, then Joomla filters the variable.

Instead of var_dump and echo, you can use a debugging environment. To give you more specific advise here I need to know operating system, local web server setup and the editor that you use. You will also find a howto guide for pretty much every combination of these things on the web.

Hope this helps,


Joomla CMS

All Answers

Answers by Expert:

Ask Experts


Jochen Daum


From a technology perspective, I can answer questions - as they relate to the Joomla CMS: - Browser compatibility, specifically, as they relate to modern browser versions of Internet Explorer, Firefox, Chrome and Apple Safari, but also related to Mobile phone technology, RSS feeds and related Internet technologies - Site layout planning, such as with wireframes - Content planning including how to set up categories, subcategories, sections and the like - User access control planning and implementation - Image, file, video (Youtube) and link management - E-Commerce including product categories, products, product pricing including multiple pricing categories for retail customers, wholesale and resellers - Intranet and other set-ups that require login - image galleries, banner management and other mass image management facilities In regards to specific Joomla components we can asnwer questions regarding - Virtuemart, formerly phpShop, but also general advice in regards to E-Commerce components - Jevents, but also general advice in regards to Events management, including for the music industry - RSForm, but also general advice in regards to form management components - Joomfish, but also topics of IP Address detection, country targeting and other techniques to show content dependend on user location and profile - Twitter, Facebook and Linkedin integration - Custom integration with any other computer system - Custom database integration - Ignite Gallery, but also other image galleries - Custom development of templates, components (such as calculators), modules and plugins - Developer advice on how to manage source code, backups, servers and related technologies


I have been developing websites for Mambo and then Joomla since 2003. We currently manage a portfolio of several large scale Joomla installations for major businesses, which are world-leaders in their specific markets. Furthermore, have provided mentoring services to Joomla component developers and advise developers and businesses alike on long term development strategies and management of source code, features, backups and intellectual property.

Linkedin, Xing, BNI

I hold a Masters degree, computer science from Darmstadt University of Technology, Germany. My majors were Crypography, Databases, Software Engineering and computer networks. More importantly, I have been a passionate and successful business owner of a web development company, Automatem, now into its 7th year.

Past/Present Clients
Academic Colleges Group Philips Selecon

©2017 All rights reserved.