Forum is closed

Questions and issues

Questions and issues

Hi,

First of all - a huge thank you for this component, and its integration with JomSocial. I know it's something a lot of users want and haven't got from the JomSOcial team, so I'm sure you will find plenty of enthusiastic customers there!

All is working ok so far. A few questions/issues, though:

- When a logged in session is left for too long, it seems Facebook logs the Joomla site out, and throws an error message when trying to access the Joomla site. THe only way I could get around this was to completely close the browser to clear the session.

- My Facebook invitees didn't seem to receive their invites.

- But the main request/question is when you envisage this component being able to post to the Facebook wall/feed any new articles submitted on the site. THis would make the component perfect.

Grateful for your answer to the last point. And congratulations again on making this component.

Regards,

Matt

wriggler
useravatar
Offline
7 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Questions and issues

Good questions, and I'll take them each point by point below:
When a logged in session is left for too long, it seems Facebook logs the Joomla site out, and throws an error message when trying to access the Joomla site. THe only way I could get around this was to completely close the browser to clear the session.
This is one of the 2 bugs that were fixed in the (just released) 2.0 version.  Please try this version and definitely post here if you're still experiencing this issue.

My Facebook invitees didn't seem to receive their invites.
You're the 2nd post, I believe, that's mentioned this.  Now that the 2.0 stable component is out, this is going to be the next problem we'll be investigating.  We don't think it's affecting all sites, so we may ask for more information about your configuration if we can't easily reproduce it on our test servers.

But the main request/question is when you envisage this component being able to post to the Facebook wall/feed any new articles submitted on the site. THis would make the component perfect.
While I haven't used it, another author has posted the following module below.  I looked at it on his site (you can see the demo page if you go to his forum post), and it looks like what you may be looking for (you have to log into his site first and click on an article to see it in action).  Again, it's not ours, but we plan on helping developers create and distribute their own products so you can customize your JFBConnect site however you'd like.  If it works, let others know, and if you want more or changes, let the author know!
<!-- m --><a class="postlink" href="http://www.cmsmarket.com/extensions-directory/listings/Extension+Specific/JFBConnect/Facebook+Comments+for+JFBConnect+powered+sites">http://www.cmsmarket.com/extensions-dir ... ered+sites</a><!-- m -->

Hope this helps

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24059 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Questions and issues

Hi,

Thanks for the response. The session issue seems to have been resolved (at least, I haven't seen it since upgrading). There is one persistent problem, though. When logging a new user in using Facebook Connect for the first time (i.e. this is the first time they've used the site, so the component is creating a Joomla account for them from their FB credentials), there is ALWAYS a white screen with an error (something about user mapping, I don't have the exact error message right now). However, if I click on the 'back' button, I go to the correct page, and the account has indeed been created, with avatar etc. So it seems like everything's ok but it's trying to do something else that then creates a problem. This is obviously a big problem. Do you know what I mean? I could PM my site details, then you could log in with FB Connect and you'll see the error.

About ceshelman's module - no, this doesn't do it. His is a comment module, effectively outsourcing comments to FB. What I want is the ability to post news to the Facebook news feed, such as "Person X has just added a new article on mysite.com", with a link to the article. This appears to be a core feature of Facebook Connect, it's just a case of being able to implement it. I can program, but only at a basic level... Do you know where I would need to insert the Facebook call so that it gets receives details of the new article when I create a new article in Joomla?

Thanks again,

Matt

wriggler
useravatar
Offline
7 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Questions and issues

If you can post the error, it will help us immensely to find that section of code and analyze what might be happening.

I see what you're saying about the feedback to Facebook.  No, it's not there yet, but we are working on putting together a roadmap for future development (we'll try to post some of the ideas here for feedback as well).  Initially, the first new things are ease of use items, but then we plan on doing more FB integration work like what you're asking for.  We'll keep you posted.

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24059 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Questions and issues

This is the error. As mentioned, the process actually works (if I refresh the error page, it gives the correct, logged in page), but obviously we need to get rid of this error. I actually PM'd you my url so you could see it for yourself.:

Mapping user
User and FB id found
Joomla ID not mapped to this user, updating
Map updated

Fatal error: Uncaught exception 'FacebookRestClientException' with message 'Invalid parameter' in /home/russia11/public_html/jom/administrator/components/com_jfbconnect/assets/facebook-api/facebookapi_php5_restlib.php:2458 Stack trace: #0 /home/russia11/public_html/jom/administrator/components/com_jfbconnect/assets/facebook-api/facebookapi_php5_restlib.php(1232): FacebookRestClient->call_method('facebook.users....', Array) #1 /home/russia11/public_html/jom/components/com_jfbconnect/helpers/jomsocial.php(46): FacebookRestClient->users_getInfo('313827', Array) #2 /home/russia11/public_html/jom/components/com_jfbconnect/helpers/jomsocial.php(24): JFBConnectJomsocialHelper->migrateFBFieldsToJS() #3 /home/russia11/public_html/jom/components/com_jfbconnect/controller.php(97): JFBConnectJomsocialHelper->importFBProfile() #4 /home/russia11/public_html/jom/libraries/joomla/application/component/controller.php(236): JFBConnectController->loginFacebookUser() #5 /home/russia11/public_html/jom/components/com_jfbconnect/jfbconnect.php( in /home/russia11/public_html/jom/administrator/components/com_jfbconnect/assets/facebook-api/facebookapi_php5_restlib.php on line 2458

wriggler
useravatar
Offline
7 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Questions and issues

Thanks for posting the error.  Just wanted to let you know we are investigating, but don't have an answer yet.  Is it possible that you changed a JomSocial field and it's using old field information?  Can you try going into the JomSocial tab in JFBConnect and just hitting "Apply" again, and see if that helps?

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24059 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Questions and issues

Also having this issue - any ideas please??

Hitting Apply in JomSocial settings didnt help... The user is created and logged in but they dont have any profile fields showing.... could this be a lead?

Mapping user
User and FB id found
Joomla ID not mapped to this user, updating
Map updated

Fatal error: Uncaught exception 'FacebookRestClientException' with message 'Invalid parameter' in /var/www/virtual/capetownalive.co.za/htdocs/administrator/components/com_jfbconnect/assets/facebook-api/facebookapi_php5_restlib.php:2458 Stack trace: #0 /var/www/virtual/capetownalive.co.za/htdocs/administrator/components/com_jfbconnect/assets/facebook-api/facebookapi_php5_restlib.php(1232): FacebookRestClient->call_method('facebook.users....', Array) #1 /var/www/virtual/capetownalive.co.za/htdocs/components/com_jfbconnect/helpers/jomsocial.php(46): FacebookRestClient->users_getInfo('607375499', Array) #2 /var/www/virtual/capetownalive.co.za/htdocs/components/com_jfbconnect/helpers/jomsocial.php(24): JFBConnectJomsocialHelper->migrateFBFieldsToJS() #3 /var/www/virtual/capetownalive.co.za/htdocs/components/com_jfbconnect/controller.php(97): JFBConnectJomsocialHelper->importFBProfile() #4 /var/www/virtual/capetownalive.co.za/htdocs/libraries/joomla/application/component/controller.php(236): JFBConnectController->loginFacebookU in /var/www/virtual/capetownalive.co.za/htdocs/administrator/components/com_jfbconnect/assets/facebook-api/facebookapi_php5_restlib.php on line 2458

Edington
useravatar
Offline
5 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Questions and issues

Eventually, I uninstalled the component, all plugins and modules, and made sure all were completely deleted. Then installed v2.0 stable, this time ensuring all plugins and modules were fully updated, and - problem solved. Just make sure you completely delete all traces of the pre-stable versions of JFBC before installed 2.0 stable.

wriggler
useravatar
Offline
7 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11641
Total Polls:
0
Total Posts:
48895
Posts today:
1
User Info
 
Total Users:
47748
Newest User:
SamRodgers4
Members Online:
1
Guests Online:
958

Online: 
mel
Social Stream
SourceCoast Joomla Social Extensions
Friday, 25 May 2018
JFBConnect 8.0 Coming Soon! Stay tuned.
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program