By Bilal Abdeen on Wednesday, 02 January 2019
Posted in General Issues
Replies 6
Likes 0
Views 620
Votes 0
Scenario:
1. An Arabic blog is created.
2. I click on the Twitter button at the blog's page.
3. The link on the tweet does NOT include the blog's page in the URL. The link goes to 404.

I think this is a problem with the Unicode characters. By the way, sharing on Facebook works just fine. I am not sure f this is a Twitter limitation or an EasyBlog issue.

By the way, I found a similar ticket on your support pages (see link below). However, I could not see the response on the question, because (This section can only be seen by users with a valid subscription). Access to that answer might have saved me and you some time!

https://stackideas.com/forums/issue-with-url-in-twitter-auto-posting-when-it-contains-rtl-words
Hi Bilal,

I believe the issue can be fixed from our end by passing in an already encoded link(for unicode links) to Twitter so that the link does not hit the 404 issue(eg: http://take.ms/XeNic).

I will log this issue in our tracker so we can address this.
·
Wednesday, 02 January 2019 13:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Excellent.
Any idea when this fix is expected to be available?
·
Wednesday, 02 January 2019 13:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Bilal,

We do not have an expected date for the next EasyBlog release, but if you want a temporary fix, I have attached the file below.

This fix is only applicable for the 'Simple Buttons(Without Counters)' option that you are currently using(http://take.ms/oTihN).

The file can be applied in the following directory. Remember to backup the original file beforehand.
JoomlaFolder/administrator/components/com_easyblog/includes/socialbuttons/adapters/internal/twitter.php
·
Wednesday, 02 January 2019 19:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you very much for the quick fix. It looks that links work perfectly now.

However, the link now has the mysterious URL encoding. It would be nice if the displayed link is (a short one), or (a long, but readable one).
·
Thursday, 03 January 2019 07:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Bilal,

Are you referring to this? http://take.ms/COKyHr

Actually this is normally how encoded urls look like, and its coming from Twitter's side. You can try manually typing some words followed by the unicode link in Twitter's tweet box and share. You should see a similar link being generated(http://take.ms/mNmJn).

But you do have a good point to use a shortener on the url before passing the url to Twitter. We will see what we can do about this in the future.
·
Thursday, 03 January 2019 13:23
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post