**This website will be shutdown permanently soon**

This website and apps are for sale. Only serious offers will be considered. Contact sales@paphussolutions.com

** Server is current under maintenance, any changes will be lost **

Bot Libre Forum : Automating your Facebook presence using a Facebook bot

RE: Automating your Facebook presence using a Facebook bot

por admin publicado Feb 28 2017, 13:21

I think the code you want is something like:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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;
  }
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


Id: 15619066
Publicado: Feb 28 2017, 13:21
Actualizado: Mar 1 2017, 7:59
Respuestas: 0
Vistas: 4824, hoy: 190, la semana: 192, mes: 204
0 0 0.0/5