By Sunny on Wednesday, 29 April 2015
Posted in General Issues
Replies 7
Likes 0
Views 0.9K
Votes 0
In share a story for profile/groups & events, if we type a long url e.g : http://www.stackoverflow.com in the update status box.

the auto link insertion cuts off the characters while typing e.g it will show
http://www.stackove
say something about this link

If we cut and paste the url, then it fetches the complete meta and og image.

I think this is an issue of timing, you can check it on your demo site as well.

Can you please provide a fix.

regards
Hi Sunny,

I'm really sorry that delayed of this reply,

I have tried to copy this URL and paste in Easysocial story panel, it seems like work fine for me.

http://stackoverflow.com/questions/874512/update-facebook-status-from-site


Check my screenshot below.

Am i missing something here? Please advise.
·
Thursday, 30 April 2015 18:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

Yes if you copy & paste it would work, but if you try typing slowly it would not work.

It will again work if you type very fast like superman, but if you are a little slow it will cut the characters.

Please note that the add link textbox works okay, but if you type the url in the status update default text area then this issue occurs.

please check the screenshot.

regards
·
Friday, 01 May 2015 13:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sunny,

There's actually a 750 miliseconds waiting time to detect for a URL but perhaps the regex isn't entirely accurate since it should also detect for the top level domains but this is a pretty tricky process. Will see what we can do about this
·
Friday, 01 May 2015 15:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

Maybe we can increase the waiting time?

I just checked in jomsocial, there they render the link contents once the last letter of domain is entered.

Maybe easysocial can also follow the same rule.

regards
·
Friday, 01 May 2015 20:57
·
0 Likes
·
0 Votes
·
0 Comments
·
You can't really determine the last letter but the debounce is currently at 750 miliseconds and it's actually pretty accurate just that the regex pattern needs some updating to ensure that it only really checks for valid domain.
·
Saturday, 02 May 2015 03:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

Got your point, look forward for the remedy.

Also for stream notifications, which are not accurate in many cases.

regards
·
Saturday, 02 May 2015 13:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for the heads up on this Sunny
·
Monday, 04 May 2015 16:02
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post