API GET POST TYPE for Tickera + iOS App
-
Hello world !
When I use the get_posts in my app I get the posts from my blog, now I’m trying to get a specific post type (tc_events from Tickera plugin) using :
https://www.example.org/api/get_posts/?post_type=tc_events
In my browser I can see the post id, type, slug. url, statut, title etc… :
{"status":"ok","count":3,"count_total":3,"pages":1,"posts":[{"id":880,"type":"tc_events","slug":"easter-party","url":"http:\/\/example.org\/
[…]but when I go to my App using Xcode + the simulator I get a blank page when i try to load the url
https://www.example.org/api/get_posts/?post_type=tc_events
PS: my app works when I load the posts from my blog with the url https://www.example.org/api/get_posts/
What am I doing wrong?
Thanks,
Mark
- The topic ‘API GET POST TYPE for Tickera + iOS App’ is closed to new replies.