Read facebook messages using python sdk
<p>I'm trying to read facebook conversations of a page using a python script. With this code</p>

<pre><code>import facebook

at = "page access token"
pid = "page id"
api = facebook.GraphAPI( at )
p = api.get_object( 'me/conversations')
print p
</code></pre>

<p>I get a dictionary containing the following</p>

<pre><code>{'paging': {'next': 'https://graph.facebook.com/v2.5/1745249635693902/conversations?access_token=&lt;my_access_token&gt;&amp;limit=25&amp;until=1454344040&amp;__paging_token=&lt;my_access_token&gt;', 'previous': 'https://graph.facebook.com/v2.5/1745249635693902/conversations?access_token=&lt;my_access_token&gt;&amp;limit=25&amp;since=1454344040&amp;__paging_token=&lt;my_access_token&gt;'}, 'data': [{'link': '/Python-1745249635693902/manager/messages/?mercurythreadid=user%3A100000386799941&amp;threadid=mid.1454344039847%3A2e3ac25e0302042916&amp;folder=inbox', 'id': 't_mid.1454344039847:2e3ac25e0302042916', 'updated_time': '2016-02-01T16:27:20+0000'}]}
</code></pre>

<p>What are those fields? How can I get the text of the message?</p>

<p>Edit: I tried asking for the "messages" field by adding</p>

<pre><code>    msg = api.get_object( p['data'][0]['id']+'/messages')
    print msg
</code></pre>

<p>but it just returns the same fields. I've searched in the API docs for a while, but I didn't find anything helpful. Is it even possible to read the message content of a facebook page's conversation using python?</p>