Comment 84 for bug 1088775

Ruben Rocha (ruben-silvarocha) wrote :

There are problems again with gwibber and facebook. The error this time is that there is no "count" key when receiving the facebook feed:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gwibber/microblog/", line 81, in run
    message_data = PROTOCOLS[account["service"]].Client(account)(opname, **args)
  File "/usr/share/gwibber/plugins/facebook/", line 253, in __call__
    return getattr(self, opname)(**args)
  File "/usr/share/gwibber/plugins/facebook/", line 268, in receive
    return [self._message(post) for post in data["data"]]
  File "/usr/share/gwibber/plugins/facebook/", line 224, in _message
    m["likes"]["count"] = data["likes"]["count"]
KeyError: 'count'

My solution was to edit the file /usr/share/gwibber/plugins/facebook/ and from line 224 to 231 delete any instance of ["count"]. Save file and reboot. The facebook feed now refreshes and appears in gwibber.