Closed GoogleCodeExporter closed 8 years ago
This is why I am not a fan of the client caching data. IMO if a user wants to
cache
something then they can use an HttpSession.
Original comment by hahna...@gmail.com
on 24 Oct 2008 at 2:34
:)
I can only guess that that you're trying to reuse the same RestClient for each
user.
The restclient is caching the get friends call.. so the easy fix for you, is that
you should create a brand new restclient as often as appropriate.. :)
Or we can add a "resetCaches()" method that will clear our all of the restclient
caches, so that you can reuse the object as you expect.. but creating a new
RestClient is probably the most straight-forward, understandable method.
Original comment by fern...@gmail.com
on 26 Oct 2008 at 8:01
In my version of the API I created a method to clear caches (variables). My
version
of the API then calls that method internally as the first step in any API
methods.
So for example:
public List<Long> friends_getAppUsers(String apiKey, String sessionKey, String
callId, String sig, String v, String format, String callback) throws
FacebookAPIException {
// clear the cached variables right away befoe doing anything else
}
Original comment by hahna...@gmail.com
on 28 Oct 2008 at 7:02
Original comment by fern...@gmail.com
on 18 Nov 2008 at 3:48
Original comment by fern...@gmail.com
on 28 Dec 2008 at 12:01
old, we'll have to re-evaluate architecture anyhow.
Original comment by fern...@gmail.com
on 30 Oct 2009 at 12:15
Original issue reported on code.google.com by
bjork%iconsult.se@gtempaccount.com
on 24 Oct 2008 at 6:56