Not showing posts. http://news.worldsnap.com/wp-json/posts shows error

I have installed corona SDK and changed main.lua file but its not showing any posts.

Can you check what issue is?

When I clicked http://news.worldsnap.com/wp-json/posts, it shows timezone error.

Hi @patecj. Welcome to the forums and Corona SDK.

When you say you changed the main.lua. What main.lua did you change? Normally you would post the relevant parts of your source code here (using the blue <> button in the edit bar), or provide a better description as to what you are trying, where you got the code, etc.

Now if your URL is giving you an error, you will have to solve that before your Corona code can have a chance to be successful.

Rob

Thats issue in Corona Wordpress plugin. I think its not taking India’s timezone.

http://news.worldsnap.com/wp-json/posts

– WORONA APP CONFIGURATION
worona.current_style       = “default”                – Choose your theme.
worona.wp_url              = “http://news.worldsnap.com”  – Enter the url from which the app will read the data.
worona.app_title           = “Worldsnap News”            – Enter the main title of your app.
worona.app_number_of_posts = 20            – Choose the max number of posts to be shown in your app. Worona will always retrieve the latest posts.
worona.content_type        = “post”
 

Ah! While we love the idea of worona, it’s a third party tool that we really have no ability to support. Please reach out to the Worona developer for help.

https://www.worona.org/

Rob

Which third party plugin are you talking about? I have installed plugin from your site only.

Worona is not a plugin. It’s a 3rd party service. Corona Labs did not create this someone else did. Go to their website for support on using Worona.

Rob

Hi!

Luis from Worona here. Thanks Rob for answering this and your kind words about Worona :slight_smile:

Patecj I’ve just answered to your support question to your email. The problem here is not even with Worona, but with the WordPress REST API. Anyway, I’ve sent you the solution to your email.

All the best,

Luis.

Hi there, what was the solution to the above problem. I am experiencing the same issue and would greatly appreciate any help.

Thanks.

Hi @patecj. Welcome to the forums and Corona SDK.

When you say you changed the main.lua. What main.lua did you change? Normally you would post the relevant parts of your source code here (using the blue <> button in the edit bar), or provide a better description as to what you are trying, where you got the code, etc.

Now if your URL is giving you an error, you will have to solve that before your Corona code can have a chance to be successful.

Rob

Thats issue in Corona Wordpress plugin. I think its not taking India’s timezone.

http://news.worldsnap.com/wp-json/posts

– WORONA APP CONFIGURATION
worona.current_style       = “default”                – Choose your theme.
worona.wp_url              = “http://news.worldsnap.com”  – Enter the url from which the app will read the data.
worona.app_title           = “Worldsnap News”            – Enter the main title of your app.
worona.app_number_of_posts = 20            – Choose the max number of posts to be shown in your app. Worona will always retrieve the latest posts.
worona.content_type        = “post”
 

Ah! While we love the idea of worona, it’s a third party tool that we really have no ability to support. Please reach out to the Worona developer for help.

https://www.worona.org/

Rob

Which third party plugin are you talking about? I have installed plugin from your site only.

Worona is not a plugin. It’s a 3rd party service. Corona Labs did not create this someone else did. Go to their website for support on using Worona.

Rob

Hi!

Luis from Worona here. Thanks Rob for answering this and your kind words about Worona :slight_smile:

Patecj I’ve just answered to your support question to your email. The problem here is not even with Worona, but with the WordPress REST API. Anyway, I’ve sent you the solution to your email.

All the best,

Luis.

Hi there, what was the solution to the above problem. I am experiencing the same issue and would greatly appreciate any help.

Thanks.