Upgrade
Sign In : Sign Up : Blog : Search: Language : Help :
Upgrade to our Diamond service and we will build you your own app for Android or iOS
Bot Libre Forum : Automating your Facebook presence using a Facebook bot

RE: Automating your Facebook presence using a Facebook bot

by admin posted Feb 28, 13:21

I think the code you want is something like:

// Returns WordPress posts. state TeachEnglish { pattern "^ [verbo pronome pronomes] (to) *" answer Teaching(); function Teaching() { var json = Http.requestJSON("https://teacherbot.000webhostapp.com/wp-json/wp/v2/pages?slug=" + Http.encode(star[1])); var text = json[0].content.rendered; text = text.replace("<p>", ""); text = text.replace("<\/p>", ""); text = text.replace("\n", ""); text = text.trim(); return text; } }


Id: 15619066
Posted: Feb 28, 13:21
Updated: Mar 1, 7:59
Replies: 0
Views: 303, today: 1, week: 2, month: 53
I'm sure
Flag graphic as offensive, or in violation of site rules