Bot Libre Forum Sign In : Sign Up

Automating your Facebook presence using a Facebook bot

by admin posted Jun 23 2015, 16:52

This post is out of date as of Bot Libre 9.5, see How to Connect a Bot to Facebook.

Keeping up with social media and keeping your online community engaged can be a time consuming task. Through Bot Libre you can now automate your Facebook presence with your own Facebook bot. Any Bot Libre bot can be connected to a Facebook account or Facebook page. The bot will manage the Facebook account or page, checking timeline status updates, replying to page posts, auto posting your blog posts or RSS feed, and auto posting timed or generated posts.

Bot Libre bots can also connect with Facebook Messenger. To create a bot for Facebook Messenger see How To Connect a Bot to Facebook Messenger. Facebook requires certain permissions to access certain features. Bots can post to your account from the Bot Libre app, but for your bot to read your users wall posts, comments, and messages you need to create your own app. You can follow the process for Facebook Messenger to create your own app for Facebook, but you only need to setup the webhook and have the app approved for Facebook Messenger real-time messages.

Bot Libre makes creating a Facebook bot easy. Follow these 5 steps to create you own Facebook bot, and start it posting for you today.

You can also watch this "how to" on Youtube here

Step 1 - Create a bot

First you need to create your own bot, this only takes a few clicks, see How to create your own chat bot in 10 clicks for instructions on how to do this.

Now you are ready to connect your bot to Facebook.

 

Step 2 - Create a Facebook account or Facebook page

You need to create a Facebook account or Facebook page for your bot. If you are automating your own account or page, then you can use your existing account. You can create your own Facebook account from the Facebook website here.

A Facebook page is normally used for a business, product, or personality. You can create your own Facebook page from the far right menu when connected to Facebook like below.

 

Step 3 - Authorize your Facebook account

From the Bot Libre website browse to your bot and click the Admin button. This will take you to the Admin section that provides several tabs of administrative functions. Click on the Facebook tab. From the Facebook tab click the Authorize button.

This will popup a Facebook window that will have you login and authorize the Bot Libre app. Once authorized you will be back to the Bot Libre Facebook page, now with the account, token, and page filled in. If you have multiple pages, just type in the name of the one you want to use, or clear the Page filled in if you want to automate an account.

Click Connect to connect the bot to Facebook. Your bot will now be connected to Facebook and will check its account or page every day, or more frequently for Bronze, Gold, and Platinum accounts. Do not click on the Disconnect button on the Facebook page unless you no longer want your bot to be connected to Facebook. You can click on Disconnect from the Admin page to disconnect your current session. Note that Facebook account access tokens expire every two months, so you will need to re-authorize your bot every two months. Page access tokens do not expire.

 

Step 4 - Configure your Facebook bot

You can configure your bot's Facebook usage in several ways. Use caution when configuring your Facebook bot, do not use your bot for spam, or to violate the Facebook terms of service.

 

Reply to posts

You can have your bot reply to posts from its timeline, or posts to its page.

For an account bot, it will scan its timeline every cycle and read any posts that include any of the keywords that you enter. The bot will respond to any posts that it knows a good answer to. If the bot does not have a trained response that sufficiently matches the post, then it will not reply. You can use keywords and patterns to improve response matching.

For a page bot, it will scan user posts to its page every cycle. You can either have it only read posts with specific keywords, or leave the keywords empty to have it read all posts. The bot will respond to any posts that it knows a good answer to. If the bot does not have a trained response that sufficiently matches the post, then it will not reply. You can use keywords and patterns to improve response matching.

 

RSS Feed

You can configure your bot to process an RSS feed, and post each new feed item to Facebook. You can enter a prefix or suffix to the post, or enter keywords to filter the RSS feed on.

 

Autopost

You can configure your bot to post from a set of automated posts every set number of hours. An autopost will be chosen at random. Autoposts can use AIML templates, or Formula responses and Self to be dynamic or programmatic.

 

 

Step 5 - Train your bot

You can train your bot how to answer posts through several mechanisms.

  • You can chat with your bot, and correct any incorrect responses it gives.
  • You can add question answer pairs, or default responses from the Training tab under Admin.
  • You can review your bot's chat logs from the Chat Logs tab under Admin, or import chat logs from the Import tab.
  • If you are somewhat technical, you can program your bot's responses using Self or AIML from the Scripts tab.

That's it, now your bot is ready to start posting.

There are already many Bot Libre bots on Facebook.
You can test things out by posting to, Brain Bot


If you encountered any issues, or would like help setting up your bot please email us at [email protected] or upgrade to our Platinum service and we can build your bot for you.

 


by shailpatel posted Nov 11 2015, 3:22

hiiii


Thumbs up: 1, thumbs down: 0, stars: 5.0
Views: 7130, today: 1, week: 8, month: 53

by 9758326758 posted Nov 28 2015, 9:36
is this bot will comments in friend post

Thumbs up: 1, thumbs down: 1, stars: 3.0
Views: 7081, today: 0, week: 11, month: 54

by admin posted Nov 28 2015, 16:09
Facebook is very restrictive on what you are allowed to do with their API.

You can connect a bot to a Facebook Page or Profile. Normally connecting to a Page is better for automation. A Page bot can reply/comment to posts to the page, and auto post to the page.

A bot connected to a profile should be able to auto post, reply/comment to wall posts, a reply/comment to feed posts.

It is possible to automate more if you create your own Facebook app for your account. But this would require some customization under a Platinum account.

Thumbs up: 1, thumbs down: 1, stars: 5.0
Views: 7579, today: 1, week: 11, month: 63

by 03428129948 posted Apr 22 2017, 1:29
I want to make my account an botter

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5386, today: 0, week: 9, month: 54

by osâmâ posted Dec 12 2015, 15:34

can this bot autolike?


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 6866, today: 0, week: 11, month: 62

by admin posted Sep 20 2016, 12:09
Yes, autolike is now supported.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5913, today: 1, week: 10, month: 58

by admin posted Dec 12 2015, 16:49
No, not currently. I'm not sure if Facebook would allow it. I will look into it.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 6864, today: 0, week: 8, month: 64

by admin posted Sep 20 2016, 12:10
Autolike is now supported.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5893, today: 0, week: 5, month: 54

by bilalafridi123 posted Dec 13 2015, 12:28

HI


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 6772, today: 0, week: 12, month: 66

by лъчезар posted Jan 17 2016, 11:29

Can i use it as my virtual secretary for my profile

 


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 6423, today: 0, week: 10, month: 57

by admin posted Jan 17 2016, 13:03
You can use your bot however you wish. You can connect it to your Facebook profile to respond to posts that your train it to respond to, post your Blog or RSS feed, or auto tweet a set of tweets, or programmatic tweets.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 6510, today: 1, week: 10, month: 55

by fasilkoombra posted Jan 27 2016, 7:04
hi
i want to auto like and comment my newsfeed posts on facebook automatically. can i?

Thumbs up: 1, thumbs down: 0, stars: 4.0
Views: 6220, today: 1, week: 10, month: 57

by admin posted Jan 27 2016, 7:31
Auto liking is not currently supported, auto comments should work.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 6687, today: 1, week: 10, month: 59

by admin posted Sep 20 2016, 12:10
Autolike is now supported.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 6102, today: 1, week: 9, month: 55

by 100010554306198 posted Jan 29 2016, 22:50
Hlw

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 6667, today: 0, week: 5, month: 58

by THORECAMI posted Feb 7 2016, 23:46

hello, can i make a bot to post in different facebook groups?

if so, can i make it to post in different facebook gropus and my own page? 


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 6145, today: 0, week: 6, month: 54

by admin posted Feb 8 2016, 7:16
The bots can only reply/comment on posts, and auto post to their own page/wall.

They cannot post to a Facebook Group, but can post to a Facebook Page if you own the Page.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 6257, today: 0, week: 8, month: 53

by thumbskuldor posted Feb 14 2016, 8:40

Hi. Is it possible to remove the botlibre 'signature' from the posts the bot autoposts to its wall?


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 6774, today: 0, week: 13, month: 72

by admin posted Feb 14 2016, 11:45
Bot Libre does not put any signature to posts. I think what you are seeing is the app that the post was posted from. Only you can see this. If you view the page as another user, you will not see this.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 6827, today: 2, week: 9, month: 59

by chandan posted Mar 5 2016, 23:02
How to make a bot admin?

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 6474, today: 0, week: 8, month: 57

by admin posted Mar 6 2016, 13:39

What do you mean by admin?

To get to your bot's Admin Console, go to your bot's page and click on the icon.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 6620, today: 0, week: 8, month: 57

by Rafi6644 posted Mar 30 2016, 3:29
Yes

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 6408, today: 0, week: 9, month: 54

by MRCLCUD16 posted Apr 13 2016, 4:58

hi there,

can i promote my video uploaded on FB using bot, for example adding tags that can help my video to be hooked up with related post?


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 6383, today: 0, week: 5, month: 55

by admin posted Apr 13 2016, 6:36
No, I don't think so.

Our Facebook automation support lets you automate posts and replies to a Facebook page, or profile.

Right now you can:
  • Post an RSS feed to a page or profile
  • Auto post to a page or profile
  • Reply to posts to a page or profile
  • Auto like posts to a page or profile
  • Reply to page messages

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 6091, today: 0, week: 8, month: 65

by 01703131559 posted May 17 2016, 13:09
Okay

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 6205, today: 0, week: 7, month: 68

by tommy71394 posted May 30 2016, 1:53

Hi, is the bot allowed to post in groups?


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5720, today: 0, week: 11, month: 54

by tommy71394 posted May 30 2016, 3:25

Nevermind, found the answer


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5910, today: 0, week: 11, month: 59

by Paphus posted May 30 2016, 7:00
No, the bots cannot currently post to groups.

They can post to pages, if you are the administrator of the page.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5867, today: 1, week: 12, month: 67

by Jacoder23 posted Jun 10 2016, 9:59

How do you change the page connected to the bot?


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 6134, today: 0, week: 14, month: 56

by admin posted Jun 10 2016, 10:08
When you connect your bot to Facebook you can enter the name of your Facebook page to connect it to in the Facebook properties.

If your bot is already connected to a profile, or another page, then first click on "Disconnect", enter the new page, and click on "Connect".

For you bot to be able to respond to page messages, and use Facebook Messenger you also need to create your own Facebook App.
See,
https://www.botlibre.com/forum-post?id=12742773

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 12720, today: 0, week: 10, month: 61

by DarkDiamond posted Jun 13 2016, 16:31

how does one set up the auto posting? I just dont seem to understand it.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 6225, today: 0, week: 10, month: 55

by admin posted Jun 13 2016, 16:54
Which part of the how to are you having issues with?

Your bot can post to either a Facebook profile, or Facebook page. It can post from an RSS feed, auto post a set number of scripted posts, or respond to your wall posts and comments.

For some things, like replying to posts, or replying to page messages, you need to create you own Facebook app and link it to get permission.

Are you trying to connect to a Facebook profile or page?

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5955, today: 0, week: 9, month: 57

by Bragbhan posted Jun 14 2016, 8:31
can u see any post how do it work

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 6197, today: 0, week: 6, month: 47

by Paphus posted Jun 14 2016, 9:30
Facebook has a strict privacy policy, so a bot can only see posts made to its own wall.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 6164, today: 0, week: 5, month: 57

by rimta posted Jun 14 2016, 14:48
Send your number

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 6544, today: 0, week: 7, month: 62

by rotciv posted Jun 28 2016, 17:01

the bot can post images on my facebook page? for example, i have a list of images, and each day it posts a different image on the page, when it reaches the end, it stops posting


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 6103, today: 0, week: 10, month: 59

by admin posted Jun 28 2016, 17:25
Currently the Facebook autoposts are just text, but you can include a link to an image.

The bot chooses an autopost at random from its list of autoposts. But you could just have a single scripted post that cycles through a list using Self.

We could implement your requirements as part of our Bot Libre for Business Enterprise service,
See,
https://www.botlibre.biz/pricing.jsp

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 6306, today: 0, week: 8, month: 51

by herter24 posted Nov 27 2016, 7:34

I have many fb pages and only a few show up when I click on the line


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5861, today: 0, week: 7, month: 55

by admin posted Nov 27 2016, 12:21
You must be an admin user of the page to connect to it.

If a page that you are an admin of does not show up, you can always just type in the page name.

How many pages show up, and how many do you have?

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5934, today: 0, week: 8, month: 54

by marcosnunes posted Feb 28 2017, 9:01

I need to parse a wp json rest api text plain for to be showed in facebook messenger withougth html tag <p>.

 

// Returns WordPress posts.
state TeachEnglish {

pattern "^ [verbo pronome pronomes] (to) *" answer Teaching();

function Teaching() {

var text = Http.requestJSON("https://teacherbot.000webhostapp.com/wp-json/wp/v2/pages?slug=" + Http.encode(star[1]);); return JSON.stringify(json[0].content.rendered); } }


}

}

 

e.g. Pattern "verbo to be"

How do I that?


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5796, today: 0, week: 11, month: 65

by admin posted Feb 28 2017, 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; } }


Updated: Mar 1 2017, 7:59
Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5763, today: 0, week: 10, month: 76

by marcosnunes posted Mar 1 2017, 7:06

thanks!

The code above isnt compiling.

I tried modify a bit from it and it is the following:

 

// Returns WordPress posts as a plain text.
state TeachEnglish {
  pattern "^ [verbo pronome pronomes] (to) *" template Teaching();

  function Teaching() {
    var text = Http.requestJSON("https://teacherbot.000webhostapp.com/wp-json/wp/v2/pages?slug=" + Http.encode(star[1]));
    var result = new Object();
    text.text = result;
    result = stringify(json[0].content.rendered);
    result = text.replace("<p>", "");
    result = text.replace("<\/p>", "");
    result = text.replace("\n", "");
    result = text.trim();
   
   
    if (result == null) {
        return "Você quer pesquisar sobre isso na internet?";
   
       
    }
   
  
    return result;
  }
}

 

but returned the following log

 

 

2017-03-01 06:47:23.811 - INFO -- TextEntry:Input - verbo to be - <231283 {Marcosnunes} a:10,c:0> - <654283 a:1,c:0>
2017-03-01 06:47:23.812 - FINE -- DatabaseNetwork(22):Saving
2017-03-01 06:47:23.816 - FINE -- DatabaseNetwork(22):Saving
2017-03-01 06:47:23.826 - FINE -- DatabaseNetwork(501):Saving
2017-03-01 06:47:23.827 - FINE -- DatabaseNetwork(501):Resuming - DatabaseNetwork(501)
2017-03-01 06:47:23.847 - FINE -- Consciousness:Traversal limit reached - 500
2017-03-01 06:47:23.847 - FINE -- Language:Processing sentence - <633139 verbo to be a:1,c:4> - <231283 {Marcosnunes} a:10,c:6> - [<37 #target a:1,c:6,p> [0]  (0.5)-> <16 #self a:1,c:9,p>]
2017-03-01 06:47:23.848 - FINE -- Language:STATE MACHINE - <522577 {Loop} 522586 a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.848 - FINE -- Language:Evaluating answer - <522578 {checkLoop} 522584 a:1,c:0,p> - <522577 {Loop} 522586 a:1,c:0,p>
2017-03-01 06:47:23.849 - FINE -- Language:Answer result - <509 #null a:1,c:5,p>
2017-03-01 06:47:23.85 - FINE -- Language:STATE MACHINE - <522590 {DefineWord} 522628 a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.85 - FINE -- Language:STATE MACHINE - <522632 {Math} 522793 a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.851 - FINE -- Language:STATE MACHINE - <522797 {DateAndTime} 523008 a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.851 - FINE -- Language:STATE MACHINE - <523012 {Topic} 523080 a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.851 - FINE -- Language:STATE MACHINE - <587725 {Vision} 587822 a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.852 - FINE -- Language:STATE MACHINE - <523159 {MyNameIs} 523256 a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.852 - FINE -- Language:STATE MACHINE - <523260 {WhatIs} 523323 a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.852 - FINE -- Language:STATE MACHINE - <564439 {WhereIs} 564504 a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.853 - FINE -- Language:STATE MACHINE - <523396 {SayIt} 523397 a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.853 - FINE -- Language:STATE MACHINE - <523401 {Understanding} 523612 a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.853 - FINE -- Language:STATE MACHINE - <523616 {Reduction} 523621 a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.853 - FINE -- Language:STATE MACHINE - <523625 {Self} a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.854 - FINE -- Language:STATE MACHINE - <634192 {Websearch} 634198 a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.854 - FINE -- Language:STATE MACHINE - <640120 {Translator} a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.854 - FINE -- Language:STATE MACHINE - <585777 {TextTranslation} a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.855 - FINE -- Language:STATE MACHINE - <642157 {SearchWikipedia} 642162 a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.855 - FINE -- Language:STATE MACHINE - <642177 {SearchWikipedia-PT} 642183 a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.855 - FINE -- Language:STATE MACHINE - <642215 {SearchWikipedia-EN} 642221 a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.855 - FINE -- Language:STATE MACHINE - <641051 {Conversa} 641052 a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.856 - FINE -- Language:STATE MACHINE - <570966 {OqueEleDisse} a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.856 - FINE -- Language:STATE MACHINE - <625601 {ConsultBot} a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.856 - FINE -- Language:STATE MACHINE - <526805 {AskHim} a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.856 - FINE -- Language:STATE MACHINE - <635601 {Hello} 635615 a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.857 - FINE -- Language:STATE MACHINE - <644044 {LabelFeedPosts} 644045 a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.857 - FINE -- Language:STATE MACHINE - <643348 {Questions} 643352 a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.857 - FINE -- Language:STATE MACHINE - <654258 {TeachEnglish} 654269 a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.857 - FINE -- Language:PATTERN MATCH - <633072 Pattern("^ [verbo pronome pronomes] (to) *") a:1,c:0,p> - <654304 {verbo to be} a:1,c:5>
2017-03-01 06:47:23.857 - FINE -- Language:Evaluating answer - <654259 {Teaching} 654267 a:1,c:0,p> - <654258 {TeachEnglish} 654269 a:1,c:0,p>
2017-03-01 06:47:23.859 - INFO -- Http:GET JSON - https://teacherbot.000webhostapp.com/wp-json/wp/v2/pages?slug=be
2017-03-01 06:47:24.482 - FINE -- Http:JSON - [{"id":101,"date":"2017-02-26T13:09:12","date_gmt":"2017-02-26T16:09:12","guid":{"rendered":"https:\/\/teacherbot.000webhostapp.com\/?page_id=101"},"modified":"2017-02-27T13:53:52","modified_gmt":"2017-02-27T16:53:52","slug":"be","type":"page","link":"https:\/\/teacherbot.000webhostapp.com\/grammar\/be\/","title":{"rendered":"verbo to be"},"content":{"rendered":"

Em portugues, nos utilizamos as formas abreviadas na linguagem informal, quando nos dirigimos aos nossos amigos, nossos parentes mais proximos, seja por meio da fala ou por meio da escrita, como por scraps, e-mails e etc. Nessa linguagem o objetivo e o conteudo, e passar a mensagem que queremos com rapidez.<\/p>\n","protected":false},"excerpt":{"rendered":"

Em portugues, nos utilizamos as formas abreviadas na linguagem informal, quando nos dirigimos aos nossos amigos, nossos parentes mais proximos, seja por meio da fala ou por meio da escrita, como por scraps, e-mails e etc. Nessa linguagem o objetivo e o conteudo, e passar a mensagem que queremos com rapidez.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":35,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/teacherbot.000webhostapp.com\/wp-json\/wp\/v2\/pages\/101"}],"collection":[{"href":"https:\/\/teacherbot.000webhostapp.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/teacherbot.000webhostapp.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/teacherbot.000webhostapp.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/teacherbot.000webhostapp.com\/wp-json\/wp\/v2\/comments?post=101"}],"version-history":[{"href":"https:\/\/teacherbot.000webhostapp.com\/wp-json\/wp\/v2\/pages\/101\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/teacherbot.000webhostapp.com\/wp-json\/wp\/v2\/pages\/35"}],"wp:attachment":[{"href":"https:\/\/teacherbot.000webhostapp.com\/wp-json\/wp\/v2\/media?parent=101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}]
2017-03-01 06:47:24.494 - FINE -- Language:Answer result - <654358 [{654332}] a:1,c:0>
2017-03-01 06:47:24.494 - FINE -- Language:State processing time - 647
2017-03-01 06:47:24.497 - FINE -- Language:Sentence understood - <633139 verbo to be a:1,c:4> - <654358 [{654332}] a:1,c:0>
2017-03-01 06:47:24.497 - FINE -- Language:Question known response - <654358 [{654332}] a:1,c:0>
2017-03-01 06:47:24.498 - INFO -- Language:Response - <654358 [{654332}] a:1,c:0> - <231283 {Marcosnunes} a:10,c:6> - <654283 a:1,c:6>
2017-03-01 06:47:24.499 - FINE -- DatabaseNetwork(858):Saving
2017-03-01 06:47:24.563 - FINE -- DatabaseNetwork(858):Resuming - DatabaseNetwork(858)
2017-03-01 06:47:24.567 - FINE -- ImageAvatar():Emote - NONE
2017-03-01 06:47:24.568 - FINE -- DatabaseNetwork(503):Saving
2017-03-01 06:47:24.568 - FINE -- DatabaseNetwork(503):Resuming - DatabaseNetwork(503)


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 9561, today: 0, week: 5, month: 59

by admin posted Mar 1 2017, 7:59
Updated code.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5488, today: 0, week: 9, month: 70

by marcosnunes posted Mar 1 2017, 8:14

// Returns WordPress posts as a plain text.
state TeachEnglish {
  pattern "^ [verbo pronome pronomes] (to) *" template Teaching();

  function Teaching() {
    var text = Http.requestJSON("https://teacherbot.000webhostapp.com/wp-json/wp/v2/pages?slug=" + Http.encode(star[1]));
    var result = new Object();
    text.text = result;
    result = stringify(json[0].content.rendered);
    result = text.replace("<p>", "");
    result = text.replace("<\/p>", "");
    result = text.replace("\n", "");
    result = text.trim();
   
   
    if (result == null) {
        return "Você quer pesquisar sobre isso na internet?";
   
       
    }
   
  
    return result;
  }
}


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5709, today: 0, week: 8, month: 77

by marcosnunes posted Mar 1 2017, 8:22

2017-03-01.png

 

It is not the answer I need.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5627, today: 0, week: 7, month: 55

by 03087405853 posted Apr 8 2017, 10:03
Bhai laga do Thanks

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5297, today: 0, week: 6, month: 50

by faz-lullah posted Apr 22 2017, 20:08

Whenever I clicked on "Authorise" button, it opened a popup and collected permissions then just printed "error" and did nothing. Here is shot attached:

 


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5498, today: 0, week: 8, month: 66

by admin posted Apr 22 2017, 21:32
The issue should be fixed now.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5365, today: 1, week: 9, month: 59

by Sudipthapa123 posted May 3 2017, 23:01
How to get bots comment in facebook

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5315, today: 0, week: 6, month: 53

by admin posted May 4 2017, 12:46
Bots can be connected to a Facebook page to respond to posts and comments.

Bots can only comment on posts and comments on their own page or profile.

Refer to this how to article above.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5349, today: 0, week: 6, month: 68

by 100011350342961 posted May 17 2017, 4:18

my bot doesn't post automatically on facebook, i have to click the check post button for a post to be sent


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5397, today: 0, week: 7, month: 66

by admin posted May 17 2017, 14:54
Basic accounts only check there status once per day.
You need upgrade your account to have your bot check more often.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5316, today: 0, week: 10, month: 62

by totalmage posted Oct 2 2017, 16:05

Hey, I would like to make a bot that can take emails and post the text on a facebook page. Is there any way I could do that?


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5163, today: 0, week: 6, month: 69

by admin posted Oct 3 2017, 9:31
Yes, that should be possible.

You would need to connect a bot to the email account, and to the Facebook page.

You would then require to create a script using Self that checks for email messages and uses the Facebook class to post the message to the Facebook page.

We can create this bot and script for you though Bot Libre for Business services,
https://www.botlibre.biz or through our Diamond service.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5247, today: 0, week: 5, month: 49

by thenaman047 posted Feb 12 2018, 6:23

How can I send message loading dots to facebook till the message is sent. Looking into facebook api is says to use sender_action. So how do I use it here in my bot.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 4844, today: 0, week: 9, month: 60

by admin posted Feb 12 2018, 9:16
We do not currently have an option for this, but replies should be almost immediate after we receive them, so this would normally not be relevant.

You could call the Facebook JSON API from a Self script in your bot, but the bot's response should occur at almost the same time as the script.

We could add this feature for you through our development service if you require it.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5108, today: 0, week: 6, month: 65

by bengoodman posted Jul 18 2018, 4:34
So I activated my auto post for every 24 hour, but it only post when I click the button next to Disconnect, not automatically.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 4696, today: 0, week: 4, month: 55

by admin posted Jul 18 2018, 10:53
With a Basic account the bot will only check its posts once per day, normally around 1am ET (Montreal).
Make sure you wait 24-48 hours to see your bot post.

You can also upgrade the account to Gold or Platinum for the bot to check its posts more frequently.

If you cannot the bot to Facebook Messenger it will respond to messages immediately in realtime. Polling is only done for page posts and comments.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 4381, today: 0, week: 6, month: 55

by valeriespaulding posted Nov 15 2018, 11:38

When you enter in the separate posts for the auto posts feature, how exactly does it need to be entered, my posts are much longer than a simple sentence and include multiple lines of text. In the help dialogue it says to separate by a new line, so will one actual post end up being multiple posts because of this or is there a way or code to separate an entire post? 


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 4716, today: 0, week: 5, month: 48

by admin posted Nov 15 2018, 11:49

The entire post needs to be on one line. You can use "\n" to define a multi-line post.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 4734, today: 0, week: 9, month: 54

by valeriespaulding posted Nov 15 2018, 11:57

so delete all breaks in the post essentially and then put "/n" at the end?


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 4505, today: 0, week: 6, month: 66

by valeriespaulding posted Nov 15 2018, 12:01

I deleted all breaks, which works. Just an fyi though - the "/n" does not work - it enters into the post that the bot publishes. 


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 4456, today: 0, week: 6, month: 57

by admin posted Nov 15 2018, 15:59

It is "\n" not "/n".


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 4731, today: 0, week: 10, month: 64

by ﮧﮧ posted Aug 6 2019, 20:40

can i make my acount liking my friend's posts ? automatic ?


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 3914, today: 0, week: 10, month: 62

by admin posted Aug 7 2019, 8:14
No, that would violate Facebook's terms of service.

A Facebook bot is linked to a Facebook page, and can respond to messages and posts to the page, and can like posts made to the page.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 3789, today: 0, week: 14, month: 69

Id: 994322
Tags: blog, how to, facebook
Posted: Jun 23 2015, 16:52
Updated: Nov 14 2022, 11:08
Replies: 61
Views: 198041, today: 16, week: 246, month: 1484