# Global Feed Api Pagination

**URL:** <https://forum.social.plus/t/global-feed-api-pagination/610>\
**Category:** Web\
**Created:** [December 27, 2022, 10:14am UTC](https://forum.social.plus/t/global-feed-api-pagination/610 "2022-12-27T10:14:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cihan-FP](https://avatars.discourse-cdn.com/v4/letter/c/7993a0/32.png) [@cihan-FP](https://forum.social.plus/u/cihan-FP)\
**Post date:** [December 27, 2022, 10:14am UTC](https://forum.social.plus/t/global-feed-api-pagination/610/1 "2022-12-27T10:14:43Z")

</div>

I’m looking for global feed pagination settings I wrote these codes and those are not working

```
    const data = await fetch(`${apiURL}me/global-feeds?` + new URLSearchParams({

        "targetId": id,
        "targetType": "community",
        "limit": 100,
        "offset": 10, // tried not working on me
        "skip": 10, // tried not working on me

    }), {

        method: "GET",
        headers: {
            ...defaultHeaders, "Authorization": `Bearer ${token}`
        }

    })

```

How can I skip posts or use pagination

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [December 27, 2022, 11:44am UTC](https://forum.social.plus/t/global-feed-api-pagination/610/2 "2022-12-27T11:44:59Z")

</div>

Hi, the api will return `"paging":{"previous":"abc","next":"def"}` in the response, please use “next”:“ **def** ” value and append to the api endpoint to get the next page like this `https://api.sg.amity.co/api/v4/me/global-feeds?token=def`
