Working generic offline access for linked in and facebook