How to do Polling and Pagination

Hey, right now I am working on a feed UI (something like a small version of Twitter, but for internal teams)

I am a designer but I took this as my first coding challenge and I user react apollo for graphql

The API gives me 20 latest posts and then I send the last message-id to poll the past messages

Apart from that, I am polling at a certain interval

I finished the entire project, but in the end, when I enabled polling, it messed with my paginated data

After researching I got to know that fetch more and polling does not work together in apollo

And now I am stuck with this issue, I know I should have looked at all the possibilities before implementing, but since it was my first coding project, I made this mistake. Is it possible to do polling and pagination together?