You can get messages from Facebook pages. Try out the code below with your own API key. You API key can be generated on the Facebook Developers page with the graph API explorer: https://developers.facebook.com/tools/explorer/

 

 

#PARSER PQL
#RUNQUERY

facebook :=                    ACCESS({
                                      source='Facebook',
                                      wrapper='GenericPull',
                                      transport='Facebook',
                                      protocol='Facebook',
                                      datahandler='document',
                                      schema=[
                                        ['message','String'],
                                        ['id','String'],
                                        ['created_time','String']
                                      ],
                                      options=[
                                        ['page', 'cocacola'],
                                        ['accessToken', 'YOUR ACCESS TOKEN (VERY LONG STRING)'],
                                        ['limit', '50'],
                                        ['scheduler.delay','1000']
                                      ]                                                                   
                                    }                                                         
                                  )