~motoster/gwibber/facebook-offers

« back to all changes in this revision

Viewing changes to gwibber/microblog/plugins/facebook/__init__.py

  • Committer: Welton Rodrigo Torres Nascimento
  • Date: 2012-10-20 02:09:57 UTC
  • Revision ID: rodrigo@familianascimento.org-20121020020957-0hohpblcbr8j14dj
Get square profile photos from facebook contacts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
217
217
      "name": data["name"],
218
218
      "id": str(data.get("id", '')),
219
219
      "is_me": str(data.get("id", '')) == self.user_id,
220
 
      "image": URL_PREFIX + data["id"] + "/picture?type=large" ,
 
220
      "image": URL_PREFIX + data["id"] + "/picture?type=square" ,
221
221
      "url": "https://www.facebook.com/profile.php?id=" + str(data.get("id", ''))
222
222
    }
223
223
    return sender