What is the meaning of the __paging_token request parameter that returns in Facebook paging URLs?

A typical facebook paging URL is as follows:

https://graph.facebook.com/353409121371688/feed?access_token=<access_token>&since=1334318362&__paging_token=353409121371688_359606270751973&__previous=1&limit=25 

Similarly, what is the meaning of the __previous query parameter?

Is there a place where all these parameters have been documented?

+6
source share
1 answer

When retrieving the messages on the page, the response from facebook contains the paging links next and previous . They will have an until or since parameter and an additional __paging_token parameter

Only until last message from the previous page is returned as the first element of the next page.

until similar to the time of the last message on the previous page. And, of course, there can be more than one message at this time, so facebook returns all messages starting from this time. paging token adds additional information for facebook so that the next page starts on the next post.

Quote: Spring Social Facebook - PagingParameters should use swap token

__previous not sure what he is doing. When I checked his presence and absence did nothing.

Attention Also, I'm not sure how long these __paging_token valid.

+1
source

Source: https://habr.com/ru/post/913127/


All Articles