Graph API provide filter by app like you see in activity log.
For example :
app: shazam
id: 210827375150
Graph API for this app activity https://graph.facebook.com/me/home?filter=app_210827375150
You can test it here https://developers.facebook.com/tools/explorer?method=GET&path=me%2Fhome%3Ffilter%3Dapp_210827375150
And for the document: https://developers.facebook.com/docs/reference/api/user/#home