By Andrew on Friday, 21 August 2015
Posted in Technical Issues
Likes 0
Views 1.8K
Votes 0
When autoposting to Facebook etc... on placing a new blog post the URL is non-SEF see link URL details 1st one is the non-SEF and 2nd one is what it should be...
Hi Andrew,

Thanks for pointing out the line of code. It seems like calling multiple times of JRoute::_() causing EasyBlog router failed to build the sef link at backend Anyway, we manage to fixed the issue

Attached the updated router.php, can you download this router.php and copy the file to folder 'JOOMLA/administrator/components/com_easyblog/includes/' and overwrite the existing 'router.php'. Remember to backup the original router.php file first before you overwrite with the updated version.

This file should fix your sef issue when autoposting to facebook from EasyBlog backend
The same fix will be added into next release of EasyBlog

Hope this help and have a nice day!
Sam
·
Friday, 23 October 2015 19:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Do you have any 3rd party SEF installed on the site, especially SH404? If you don't, can you try turning off the Finder - EasyBlog plugin and try it again?
·
Friday, 21 August 2015 03:39
·
0 Likes
·
0 Votes
·
0 Comments
·
no sh404 or other SEF 3rd party bits... But, I have turned off Finder - EasyBlog plugin and will let you know how it goes. However, if we find it solved the issue would you then look into a fix for this bug? thanks...
·
Friday, 21 August 2015 05:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Andrew,

I am really sorry for the delay of this reply as it weekends for all of us here.

May I know if the issue has been resolved once you have turned off the finder plugin?
·
Monday, 24 August 2015 15:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry about the late reply, had to wait for a new blog post to be published.

It is still not working correct. The shared URL posted to Facebook is still the non-SEF URL, see in site details....

Really need this fixed... :-p
·
Friday, 28 August 2015 16:26
·
0 Likes
·
0 Votes
·
0 Comments
·
update please.... thanks...
·
Monday, 31 August 2015 20:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Can we please get an update on this? Thanks...
·
Thursday, 03 September 2015 03:58
·
0 Likes
·
0 Votes
·
0 Comments
·
hey Andrew,

I am really sorry that delay of this reply,

I've tested in my locally for the autopost to Facebook, it seems the post URL is generated to SEF, you can take a look of my screenshot : http://screencast.com/t/TMqYRIeE9

If I click share button from your page, it also populate correct SEF link -> http://screencast.com/t/aM7IjaaqZm

By the way, can I have permission to publish a test post in your site so that I can troubleshoot on this and see what issue causing this?

If can, can you provide us with your Facebook access as well? so that we can remove that test post immediately.
·
Thursday, 03 September 2015 19:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Arlex,

We will post a couple of new blog posts tonight, I will then check again what the URL from Facebook is.

Just to confirm the current situation:
1) See - es-facebook-sharing-105.png - Facebook post as a result of the 'Autopost from EB'
2) Clicking the post on Facebook takes you here - see: es-facebook-sharing-106.png
3) Correct version with SEF URL - see: es-facebook-sharing-107.png

Let me test it again tonight and I will take notes and screenshots, then I will update you directly after.

Thanks,


Andrew
·
Thursday, 03 September 2015 20:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Andrew,

I am really sorry that delay of this reply,

That was strange May i know do you have any customization file added in Easyblog?

If the issue still persists after you test again, it would be best if you can provide us with your Facebook access, FTP access so we can troubleshoot on this quickly.
·
Friday, 04 September 2015 13:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Arlex,

No difference. Posted the new blog as Admin user on behalf of Blogger. (Admin user has English language for backend), Blogger is Dutch.
Autoposting to Facebook was enabled and Blog Post was published from backend.

Result was the the link to the post in Facebook points to a NON-SEF URL see Site Details for link.

We had this issue some time ago in 3.9, and it was resolved by one of your team (I think Marc).

We have no customizations, except for the no_image placeholders in overrides.

I have some more blogs to post so we can work together on it, just let me know... I prefer to not test with test messages as it does not look very professional to our users, I'd rather let us test with actual posts.

Note: we use JFBConnect...

Thanks,


Andrew
·
Friday, 04 September 2015 16:10
·
0 Likes
·
0 Votes
·
0 Comments
·
any update or response on this? thanks
·
Tuesday, 08 September 2015 03:08
·
0 Likes
·
0 Votes
·
0 Comments
·
okay, this is still 'autoposting' to Facebook with a NON-SEF URL link to the Blog Post on our site from Facebook
·
Wednesday, 09 September 2015 02:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Andrew,

I am really sorry that delay of this reply,

Is it possible send to me again with your FTP access? because I've tried to access as you provided before, but it seems like you changed the FTP login credential, so I can't connect.

Actually can I have your Facebook access so we can troubleshoot on this? Because that was hard to us to debug without see the output on your Facebook page and after we submit some test post, we can delete the post immediately.
·
Wednesday, 09 September 2015 16:11
·
0 Likes
·
0 Votes
·
0 Comments
·
FTP see site details. Can you try and let me know if it works now. Only host has changed.

Facebook details, I can't give you those. What I could do is work with you via Skype or similar.

It is strange, we had this before in 3.9 and Marc fixed it.

Blog is created via Backend by Admin user, on behalf of Blogger. Then Autoposting to Facebook is enabled and Blog is published. Nothing strange.
·
Wednesday, 09 September 2015 16:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Andrew,

I have submitted a new test post from backend, can you pass me that Facebook page URL so I can check on the link ?
·
Wednesday, 09 September 2015 17:29
·
0 Likes
·
0 Votes
·
0 Comments
·
https://www.facebook.com/OpgroeiGids

still incorrect and showing non-sef url.
·
Wednesday, 09 September 2015 19:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Andrew,

I am sorry that delay of this reply,

Can I have the permission submit some test post? Because that was tricky after I tested I can't help you delete the stream immediately on your Facebook page.

perhaps you can setup another test server?
·
Thursday, 10 September 2015 19:14
·
0 Likes
·
0 Votes
·
0 Comments
·
it is not deleted, only hidden... do you want to test now then I will unhide it?
·
Thursday, 10 September 2015 20:41
·
0 Likes
·
0 Votes
·
0 Comments
·
I have set it to show again on Facebook

see attached screenshot
·
Thursday, 10 September 2015 20:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Really like for us to work together to get this resolved as I would like to remove the test messages / blogs / posts as soon as possible.

Let me know if you need anything else.

Thanks for the help....
·
Friday, 11 September 2015 15:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex, Would be great to get this resolved so that we can remove the messages... Sorry, it is quite urgent and I would appreciate your assistance.
·
Friday, 11 September 2015 17:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Andrew,

After debugging long time ago, it seems like this "System - JFBCSystem" causing the issue, can you check my latest test post in your Facebook page is it generate SEF link now?

By the way, I already enabled back this system plugin.
·
Friday, 11 September 2015 18:54
·
0 Likes
·
0 Votes
·
0 Comments
·
YES!!! That seems to be the cause... So what is the next step? Is it some integration issue between EB5 and JFBConnect? What would you like us to do to help with this as I am sure it will affect all users who are using EB5 and JFBC?

By the way, thanks a million for the great support Arlex!!!!
·
Friday, 11 September 2015 19:25
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome.

Perhaps you can consult with Jfbconnect developer regarding this issue and see how it goes?

Keep us updated the status then.
·
Friday, 11 September 2015 19:35
·
0 Likes
·
0 Votes
·
0 Comments
·
It would've been much easier to get it resolved if you guys contacted Alex from SourceCoast directly as you have integration in your products with their JFBConnect. That way it is easier to get this resolved between SI and SC. As it is of course an issue which would affect all users of EB5 and JFBC. But let me know and I will also contact Alex.
·
Friday, 11 September 2015 19:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Andrew,

I am really sorry that delay of this reply,

Keep us updated once you receive Alex response.
·
Monday, 14 September 2015 12:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

Okay, we have done numerous tests and Alex from SourceCoast has also checked it.

It does not seem to be anything to do with JFBConnect, and seems to be something in the Autoposting part of EasyBlog.

Can you please assist us to get this to Autopost the SEF URL to Facebook as this is really causing us issues with duplicate URL's etc...

Would really appreciate the help.

Thanks...
·
Wednesday, 07 October 2015 02:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex, Any update on this?

Thanks, and we really appreciate it...
·
Monday, 12 October 2015 15:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Andrew,

I am really sorry for the delay of this reply,

May i know what this plugin 'Social Profiles - EasySocial' purpose? Because I tested in my locally and reproduce this issue, when I enable this plugin, it will causing the issue. Can you try disable this plugin and submit a test post from backend and see how it goes?
·
Tuesday, 13 October 2015 19:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex, The plugin 'Social Profiles - EasySocial' is JFBConnect a plugin for EasySocial integration.
·
Tuesday, 13 October 2015 20:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Andrew,

Did you try temporary disable this plugin is it work fine or not?

Because I am not really why this plugin causing the issue. When I try to submit a blog post, it will trigger this plugin as well.
·
Tuesday, 13 October 2015 23:46
·
0 Likes
·
0 Votes
·
0 Comments
·
I have updated the ticket at SourceCoast (Alex). I will update you when I hear back from him. Thanks for the effort.
·
Wednesday, 14 October 2015 01:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Andrew,

Alright, keep us updated then.

Also try to consult with Alex actually what is the reason when submit a post in Easyblog, it will trigger this plugin Social Profiles - EasySocial'.

[Edited]
·
Wednesday, 14 October 2015 12:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Okay, after further investigating by Alex from SourceCoast... It seems that the issue is indeed relating to StackIdeas.

See comment below from Alex at SourceCoast (JFBConnect)

"Knowing that the issue was related to the EasySocial plugin helped us to narrow down the issue, though I'm still unsure of the cause.

The non-SEF URL is only created when the EasySocial profile plugin is enabled and the following line in the constructor is called:


Code:
$this->registration_url = FRoute::registration();


That line of code is simply asking EasySocial what the URL for the registration page of EasySocial is. All the code is within EasySocial for that call and something inside that FRoute call seems to be altering how the EasyBlog URL is generated later on during the Auto-Posting feature."

Now, I really hope that we can get this resolved.
·
Wednesday, 21 October 2015 22:25
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post