Use twitter entities

Bug #948092 reported by Ken VanDine on 2012-03-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gwibber (Ubuntu)

Bug Description

Gwibber currently does some regex matching to make links out of twitter nicks, hashtags, grabbing urls for attachments, etc. Twitter now provides some extra metadata in the entities API which means we can get all that data reliable without regex matching. Enabling the use of entities in the API is optional now, but will be the default in the future. I would rather switch to it now for 12.04 instead of doing an SRU to fix it later on.

The results are significantly better and the switch also fixes several other bugs related to dupe matching and creating image previews for various linked media.

Ken VanDine (ken-vandine) wrote :

This has already been merged into trunk, I'll backport it to the 3.4 branch if the FFe is approved. For now here is a debdiff adding it as a patch.

Changed in gwibber (Ubuntu):
importance: Undecided → Medium
tags: added: patch
Ken VanDine (ken-vandine) wrote :
summary: - [FFe] Update to use twitter entities API
+ Update to use twitter entities API
summary: - Update to use twitter entities API
+ Use twitter entities
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gwibber - 3.3.91-0ubuntu1

gwibber (3.3.91-0ubuntu1) precise; urgency=low

  * New upstream release
    - Fix duplicate detection by falling back to comparing html,
      link_description, image_url and video_url (LP: #933694)
    - Fixed account migration path from 2.32 (desktopcouch) to
      3.4 (sqlite) (LP: #740494)
    - gwibber-accounts crashed with TypeError in function(): Item 0: must
      be a subtype of gi.Boxed (LP: #936071)
    - Fixed position tracking so page down and page up move the
      appropriate number of tiles (LP: #629420)
    - more escaping of text that pango markup can't support
    - twitter: Use Twitter entities, improves getting hashtags, mentions,
      links, images, and videos. Thanks to Mark Tully (LP: #948092)
 -- Ken VanDine <email address hidden> Thu, 08 Mar 2012 16:51:57 -0500

Changed in gwibber (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers