Hello,
I'm using REST API with JSON on iOS 5+
When I read timeline I cache it so I can have correct since_id and read only new tweets from it.
At some point in the application, user selects to create or destroy friendship. API returns success and since I know this will alter the timeline I clear the cache and read it again. However the newly read timeline does not reflect friendship updates. If I read it at some later time (say 20 seconds) it does reflect changes. Is there a general good practice to help me make sure I'll read the timeline with latest friendship and similar API changes included? This is important for me because user initiated updates does not clear cache and therefore if I do not read full correct timeline, later user refreshes will take effect only for new tweets which is not the expected behavior.
Thanks in advance!
