Hello,
Does anyone have already experience with dynamic data sources e.g. pagination for linkedIn, Facebook and Twitter?
I tried it for LinkedIn, but somehow I'm stuck. I used the explanations in following Links.
https://support.klipfolio.com/hc/en-us/articles/216183237-BETA-Working-with-dynamic-data-sources
So first, i created a static data source with following Query URL:
https://api.linkedin.com/v1/companies/{id}/updates?format=json?count=100
where i get the total number of pages in the constant _totalpages (which is in my case 400+)
Then a dynamic data source with a klip variable pagenum = 1;
https://api.linkedin.com/v1/companies/{id}/updates?format=json&count=100&start={props.pagenum}
Then i used the formula in the table: MAP (CUMULATIVE ( REPEAT ( 1, ( CEILING ( _totalpages/100)))) ,"pagenum", JOIN(id) )
But somehow, instead of getting the data like pagination e.g.
https://api.linkedin.com/v1/companies/{id}/updates?format=json&pages=1
https://api.linkedin.com/v1/companies/{id}/updates?format=json&pages=2
https://api.linkedin.com/v1/companies/{id}/updates?format=json&pages=3
https://api.linkedin.com/v1/companies/{id}/updates?format=json&pages=4
etc.
i get
https://api.linkedin.com/v1/companies/{id}/updates?format=json&pages=1
exactly two times
Any ideas?
Best regards