@ozcancelik now I understand better 
Unfortunately my knowledge starts and stops in REST APIs
I don’t have experience with GraphQL.
Just thinking out loud, if I were to implement something like that in REST, I would tinker with the findOne() function of Strapi and customize it to return what I consider next (and/or previous post). Again, I don’t know if this is feasible in GraphQL.
Best regards