** Changed in: friends-app (Ubuntu) Assignee: Ken VanDine (ken-vandine) => (unassigned)
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to friends-app in Ubuntu. https://bugs.launchpad.net/bugs/1182886 Title: URL Shortener management : provider choice (ur1.ca) and characters count (19 - 22 regarding t.co) Status in friends-app package in Ubuntu: New Bug description: Hello, I have a question and a potential problem about URL shortening in Friends : For the moment only is.gd service can be used by default (if I'm not wrong). I hope that in the future we will be able to define which one we prefer in a list of many providers, like for example http://ur1.ca Also, there is an issue when posting to Twitter with Friends and using some URL shorteners : Both is.gd and ur1.ca create short redirected links which address has exactly 19 cgaracters. But Twitter automatically transforms ALL links - even already shortened by another provider - through its service t.co Problem : t.co addres have 22 cgaracters... So as Friends counts is.gd for 19, we can write a message up to 138-139-140 characters which will never succeed to be posted in Twitter because with t.co link it will exceed the limit. Solution : for Twitter messages, when a link is made and shortened by is.gd (or in the future ur1.ca / other service), Friends should always count it as 22 characters and let us know on the bottom right the real number of remaining. Of course this does not apply to Identi.ca which does not re-short the links automatically (it can if we modify our options in Identi.ca, for example wih ur1.ca) but it is not the default behavior so Friends should count is.gd or ur1.ca as 19 characters (and non-shortened links on the real number). If the user configured Identi.ca to cross-post to Twitter, it's not Friends problem, it's the user's. But, last case, if on Friends the user wants to send a message in both Twitter AND Identi.ca here there is a choice to make to decide how Friends should act : I would say that we have to take the lower limit and count every link as 22 characters, to be sure it will be posted successfully in the 2 accounts. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friends-app/+bug/1182886/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp