Page 3 of 5

Pagination JSON

Posted: Fri Mar 14, 2014 7:59 pm
by Nikita

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


Pagination JSON

Posted: Fri Mar 14, 2014 8:05 pm
by Andrew Ashirbekov

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


Pagination JSON

Posted: Sat Mar 15, 2014 9:49 am
by Andrew Ashirbekov

Will help me? Maybe there is a tutorial?


Pagination JSON

Posted: Sat Mar 15, 2014 10:10 am
by Alena Prykhodko

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


Pagination JSON

Posted: Sat Mar 15, 2014 10:43 am
by Andrew Ashirbekov

Do you understand Russian?) I do not speak English


Pagination JSON

Posted: Sat Mar 15, 2014 10:46 am
by Alena Prykhodko

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


Pagination JSON

Posted: Sat Mar 15, 2014 10:47 am
by Andrew Ashirbekov

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...


Pagination JSON

Posted: Sat Mar 15, 2014 11:06 am
by Andrew Ashirbekov

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

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

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


Pagination JSON

Posted: Sat Mar 15, 2014 11:08 am
by Andrew Ashirbekov

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


Pagination JSON

Posted: Sat Mar 15, 2014 3:57 pm
by Igor

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.