iphone - Facebook: Get facebook messages for specific Date? -


i wanted facebook's messages not feeds. i've searched did not find solution.

i have looked fql same didn't find useful things.

is possible messages facebook specific date ? or messages ?

it's possible lastest facebook messages on top of thread(conversation session) specific time fql api, such

select snippet, recent_authors, updated_time thread folder_id = 0 , updated_time=1364564697 

also, it's possible facebook message specific time api within thread. such as

select body, created_time message thread_id=1774741570083 , created_time=1348806942 

for question. yes. it's possible facebook message inbox messages specific date(by date, not time, request). example, inbox messages "thu aug 23 2012 00:00:00 gmt+0800 (myt)" "fri aug 24 2012 00:00:00 gmt+0800 (myt)"

select body, created_time message thread_id in (select thread_id thread folder_id = 0) , (created_time>=1345651200 , created_time<1345737600) 

update:

to retrieve sender name , profile photo, can

{"query1":"select author_id, body, created_time message thread_id in (select thread_id thread folder_id = 0) , (created_time>=1345651200 , created_time<1345737600)","query2":"select id, name, pic_square profile id in (select author_id #query1)"} 

update: http request example, quote fql query, append

https://graph.facebook.com/fql?format=json&q=

after that, append &access_token=your_user_access_token @ end:

https://graph.facebook.com/fql?format=json&q=%7b%22query1%22%3a%22select+author_id%2c+body%2c+created_time+from+message+where+thread_id+in+%28select+thread_id+from+thread+where+folder_id+%3d+0%29+and+%28created_time%3e%3d1345651200+and+created_time%3c1345737600%29%22%2c%22query2%22%3a%22select+id%2c+name%2c+pic_square+from+profile+where+id+in+%28select+author_id+from+%23query1%29%22%7d&access_token=access_token


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -