I will try to answer your question about the Facebook API.
You can get the current username in status updates using this FQL query:
SELECT object_id FROM like WHERE user_id=me() AND object_type="status"
This will give you a list of updated status updates, sorted by time, with the most recent in the first place. This includes status updates only, not photos or videos or any other type of object. You can change your request to another type of object by changing the type at the end of the request ("status") to one of the following:
photo album event group note link video application check-in review comment post
You will need
read_stream user_likes
for this request.
You can learn more about the FQL How-to table here .
source share