Recent changes in Foursquare's API result in plugin failing to parse results
Bug #1012231 reported by
Mark Tully
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gwibber |
Confirmed
|
Low
|
Mark Tully | ||
gwibber (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Precise |
Fix Released
|
Low
|
Unassigned |
Bug Description
Impact:
Foursquare recently introduced a website redesign, with accompanying changes in their API. As a result of this, the Foursquare plugin can no longer parse results correctly and wll not display any.
Test case:
ensure the gwibber-service process has been restarted since apply the update then verify foursquare check-ins are showing up in your stream.
Regression potential:
There isn't really any regression potential, since foursquare changed the API without this change it isn't working at all.
---
The 'canonicalurl' key has been removed from the API result. Currently, the plugin uses this to determine the sender url. Instead, the user id must be used to construct an sender url.
Related branches
lp://staging/~markjtully/gwibber/foursquareapi20120612
- Ken VanDine: Approve
-
Diff: 47 lines (+8/-4)1 file modifiedgwibber/microblog/plugins/foursquare/__init__.py (+8/-4)
lp://staging/~markjtully/gwibber/foursquareapi20120612-precise
- Ken VanDine: Approve
-
Diff: 30 lines (+3/-3)1 file modifiedgwibber/microblog/plugins/foursquare/__init__.py (+3/-3)
Changed in gwibber: | |
assignee: | nobody → Mark Tully (markjtully) |
status: | New → Confirmed |
Changed in gwibber (Ubuntu): | |
status: | New → Confirmed |
Changed in gwibber: | |
importance: | Undecided → Low |
Changed in gwibber (Ubuntu): | |
importance: | Undecided → Low |
Changed in gwibber (Ubuntu Precise): | |
importance: | Undecided → Low |
Changed in gwibber (Ubuntu Precise): | |
status: | New → In Progress |
description: | updated |
To post a comment you must log in.
This bug was fixed in the package gwibber - 3.5.2-0ubuntu1
---------------
gwibber (3.5.2-0ubuntu1) quantal; urgency=low
* New upstream release patches/ lp_934530. patch
- New twitter icons better matching twitter's guidelines, thanks
Mark Tully (LP: #1012408)
- foursquare: Changed to using urls based off Foursquare user ids rather
than 'canonicalurl' due to 'canonicalurl' being removed from
Foursquare's API (LP: #1012231)
- foursquare: Added support for displaying 'likes', new to Foursquare API
* debian/
- Catch IOError when opening a url with urllib2, prevents crash for
connection reset errors (LP: #934530)
-- Ken VanDine <email address hidden> Thu, 14 Jun 2012 22:56:53 -0400