Nikita
Posts: 0
Joined: Fri Feb 28, 2014 4:02 pm

Pagination JSON

It's not clear enough. Just specify this url in service settings

Andrew Ashirbekov
Posts: 0
Joined: Fri Mar 14, 2014 2:21 pm

Pagination JSON

At different positions ID. Transition should be from the list of posts.
http://appery.io/app/view/ada3c3e3-92...

Andrew Ashirbekov
Posts: 0
Joined: Fri Mar 14, 2014 2:21 pm

Pagination JSON

Will help me? Maybe there is a tutorial?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Pagination JSON

Hello Andrew, sorry for delay. Please tell us steps to test the question.

Andrew Ashirbekov
Posts: 0
Joined: Fri Mar 14, 2014 2:21 pm

Pagination JSON

Do you understand Russian?) I do not speak English

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Pagination JSON

Yes, write in Russian :)
We'll reply in both English and Russian.

Andrew Ashirbekov
Posts: 0
Joined: Fri Mar 14, 2014 2:21 pm

Pagination JSON

I want to make the reader wordpress. Made a list of posts, and we need to make the discovery of one post.

I do not understand how to do it.

REST API: https://public-api.wordpress.com/rest...

25095 - this is the post ID

My list of posts: http://appery.io/app/view/ada3c3e3-92...

Andrew Ashirbekov
Posts: 0
Joined: Fri Mar 14, 2014 2:21 pm

Pagination JSON

Хочу сделать читалку WordPress для своего сайта, через API. Сейчас сделал список записей, еще нужно по клику на LINK окрывалась подробная запись поста (передавать ID поста). Через php я знаю как это сделть, но тут для меня темный лес :)

Содал новую страницу, и Services с URL: https://public-api.wordpress.com/rest... и с Request "ID"

Выше есть скрины)

Andrew Ashirbekov
Posts: 0
Joined: Fri Mar 14, 2014 2:21 pm

Pagination JSON

Может есть похожие в учебнике?

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Pagination JSON

Hello,

Steps how all should work:

  • execute service which retrieve multiple WordPress records(service A);

  • on the record click you should save record ID to localStorage variable;

  • create service which retrieve post by ID(service B);

  • on service B data source, map localStorage variable to request ID parameter;

  • map service B responses to corresponding components;

  • execute service B on some event.

    http://docs.appery.io/documentation/r...

    Your service url should be :
    https://public-api.wordpress.com/rest...
    with request parameter ID.

    Let me know if you want that I post the same steps on russian.

Return to “Issues”