api request for fetching posts based on logged in profile
fetch posts according to profile in timeline