On Wed, Aug 25, 2010 at 22:07, Sebastian Krzyszkowiak <[email protected]> wrote: > On Wed, Aug 25, 2010 at 20:27, Tim Abell <[email protected]> wrote: >> Sebastian Krzyszkowiak wrote: >> >> facebook profile picture integration? :-D >> >> >> Do you want something like that? :D I already have such script ;) >> >> I sure do :-) >> My android friends are making me jealous! >> > > http://dos.openmoko.pl/opimd-photodl :) > > Firstly: > mkdir /etc/freesmartphone/opim/photos/photodl/ > (or change variable in code to some other dir, maybe in /home) > > Then add fields to contacts: > - Facebook (with facebook account ID or account nickname, which you > can see in URL of profile page) > - E-mail (for downloading gravatars) > - Twitter > - Blip (it's polish microblogging service) > - Gadu-Gadu (it's polish IM service) > > Then run opimd-photodl, it will download avatars and create Photo > fields for contacts which does not have it already. > > I wanted to do StatusNet support too (for example identi.ca), but is > not yet implemented - I haven't found API call to do it simply, but > maybe I didn't try hard enough ;) > There is limitation about facebook support - downloaded image is not > cropped like profile picture on web, and if privacy policy for profile > picture is limited to friends, then it cannot be downloaded (also, it > can't download photos of non-adults). If i'll find a time i'll try to > add some logging in to fix those issues.
Ah, you need also python-json to be installed. It should be available in SHR repo. -- Sebastian Krzyszkowiak dos _______________________________________________ Shr-User mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-user
