Topic-icon JFBConnect integration with FAQ Book Pro

Active Subscriptions:

None
11 years 1 month ago #32439 by kevdal
I am attempting to use JFBConnect to integrate my social media with FAQBookPro.

I am using Joomla v2.5.9, "Plugin Include Component" v1.13 to insert FAQbookpro v1.6.8 into an article.

Here is a direct link to an article demonstrating that techjunkysolutions.net/services/web-design-maintenance

I'm attempting to use a hardcode on the url - however it doesn't like the permalink


Example: {JFBCLike href=www.sourcecoast.com}

The error that shows up says "The href URL must be absolute". I am really new at all this, but I'm thinking permalink does not equal absolute. I wanted to integrate the ability to share, like, etc. each individual question from FAQBookPro.

Any chance anyone's successfully integrated these 3 together?
The topic has been locked.
Support Specialist
11 years 1 month ago #32455 by alzander
I think all your missing from your example above is the http:// part. If you want to use the JFBCLike tag, it should look like:
{JFBCLike href=http://techjunkysolutions.net/services/web-design-maintenance}
Hope that's all it is, but test and let us know if you still run into issues with that.

JFBConnect should definitely play nice with JomSocial as we do a lot of testing between the 2. We don't test with FAQ Book Pro, but don't normally have issues with other extensions in general.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 1 month ago #32460 by kevdal
I should clarify ... Here is what I'm actually using (Which is the permalink that FAQBookPro has identified.

{JFBCLike href= http:www//techjunkysolutions.net/web-design-maintenance/item/5-website-construction}

This is the error "The href URL must be absolute".

As a novice this looks like an absolute path; however, it says its not.

I went to the article (that I have working) and found that I grabbed the absolute path by navigating to that specific content page (From the insert a link function). Here is the absolute link it provided index.php?option=com_content&view=article&id=114:web-design-maintenance&catid=14:sample-data-articles&Itemid=468

So I added my address to come up with www.techjunkysolutions.net/index.php?opt...le&id=114&Itemid=468

This seems to work...so I looked at one of my menu choices that is connected to a category of FAQBookPro and found this (I added my address)

www.techjunkysolutions.net/index.php?opt...ry&id=98&Itemid=1004

I have identified the category I wantas 103 and the itemid of the specific question as 5 to come up with
{JFBCLike href= www.techjunkysolutions.net/index.php?opt...gory&id=103&Itemid=5}

Unfortunately I still end up with "The href URL must be absolute"

It feels like I'm close...any ideas?
The topic has been locked.
Active Subscriptions:

None
11 years 1 month ago #32461 by kevdal
I see that the forum condensed the path...

After click on (I removed the beginning part so you can see it ...techjunkysolutions.net/index.php?option=com_faqbookpro&view=category&id=103&Itemid=5}

It doesn't properly show the question - I recall that FAQBookpro can not directly link to the item you want to display you have to link to the category above it first. This may be the issue...but if you have any thoughts, I would appreciate it.
The topic has been locked.
Support Specialist
11 years 1 month ago #32472 by alzander
I'm assuming it was a typo, but in the example you posted above, the beginning of the URL is messed up:
{JFBCLike href=http:www//techjunkysolutions.net/web-design-maintenance/item/5-website-construction}
it should be http://www. not http:www// . Again, likely a typo, but if that's a cut and paste from your site, that's likely the problem.

As for testing, I went to the following page:
techjunkysolutions.net/index.php?option=...gory&id=103&Itemid=5
And the HTML being inserted into the page looks like:
<div class="jfbclike"><div class="fb-like" data-href="/web-design-maintenance/item/5-website-construction>&nbsp;</a>http://www.techjunkysolutions.net/index.php?option=com_faqbookpro&amp;view=category&amp;id=103&amp;Itemid=5" data-show-faces="true" data-send="true"></div></div>
Not sure if that's the Like button you're working with, but something is definitely wrong there with the URL. Not sure what's screwing it up, but check that:
* There's no spaces between href=http (the href, =, and URL)
* The URL is full, as above
* There's nothing else in the tag that may be causing issues.

As for the actual URL, if you don't have any direct link to the 'actual' item that Facebook can link to and scan, then you'll have to use a different URL. That's something that you'd need to contact the FAQ Book Pro devs to implement as it's nice to be able to share a specific link to whatever it is you're displaying/sharing.

Hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 1 month ago #32474 by kevdal
I think my JCE editor was adding a hyperlink to it - when I checked the code it was all messed up...after I eliminated it it works fine, so using the absolute path I created with the category and item id's is the way to go. I tested and the two like buttons are now working independently of each other.

The problem now is really a FAQ Book Pro issue in that the absolute path I created won't actually show the answer to the question. (When I like that section the link facebook grabs is the absolute). It appears that only using what they call a permalink will display the answer. I will discuss with their developer.

Thanks for catching that and your help!


Kevin
The topic has been locked.
Support Specialist
11 years 1 month ago #32488 by alzander
Kevin,
Glad you found the issue. We (and many others) use JCE. I haven't seen that issue specifically, but there's lots of options in there. It's possible some setting was causing that problem.

As for the absolute link to the question, I'm assuming it's a URL like yoursite.com/question#answer . That #answer is the part you'll need to be sure to include.

Hope that helps some more, but as always, if you need anything else, just let us know.

Thanks,
Alex
The topic has been locked.