Menu

#12 ContactsInterface.getList requires read privleges

open
nobody
None
5
2011-06-29
2011-06-29
tomstrummer
No

I've OAuth'd, and it works because I can do other operations with read permssions like PeopleInterface.getPhotos. However, ContactsInterface.getList() doesn't seem to work for some reason. Here's my code:

this.flickr = new Flickr(
Prefs.VAL_FLICKR_CONSUMER_KEY,
Prefs.VAL_FLICKR_CONSUMER_SECRET,
new REST() );
Auth auth = new Auth();
auth.setToken( prefs.getString(Prefs.KEY_FLICKR_TOKEN_SECRET, null) );
auth.setPermission(Permission.READ);
flickr.setAuth(auth);
Collection<Contact> contacts = flickr.getContactsInterface().getList();

Any thoughts as to why that would not work? I'm using flickrj 1.2. Thanks.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.