Add support for facebook stories

Bug #1155785 reported by Robert Bruce Park on 2013-03-15
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Robert Bruce Park

Bug Description

Facebook has this concept of "stories", they show up in the feed just like messages, but they lack the "message" attribute, so when we try to publish them we get a mostly-empty deemodel row. Here is an example of the problematic JSON:

I think adding support should be a simple matter of just checking for the presence of "story" and using it if it's there. I'll have to do a bit of research to determine if there's ever a situation in which "message" and "story" would both be present, because then we'll have to do a bit of work to combine those (most likely just message + "\n\n" + story, or maybe the other way around...) but hopefully they're mutually exclusive, that would be the simplest case to support.

Related branches

Changed in friends:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Robert Bruce Park (robru)
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:friends at revision 164, scheduled for release in friends, milestone Unknown

Changed in friends:
status: Triaged → Fix Committed
Changed in friends:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers