How to get all the Open Graph Beta actions generated by an app?

2.8k views Asked by At

It is already possible to get all actions for custom app actions and objects:

https://graph.facebook.com/me/{appNameSpace}:{action}/{object}

This will list all the actions generated by an app, but only for a given user...

How do I get all the actions generated by an app (for all its users)? I've tried this request with an app access token :

https://graph.facebook.com/{appId}/{appNameSpace}:{action}/{object}

But it does not work...

I was also looking for an activities or actions FQL table, since each action has an id, they should be accessible somewhere.

Any suggestions?

1

There are 1 answers

8
Juicy Scripter On

AFAIK there is no way to get all actions published by application via OpenGraph, but your application creates those actions, why just not record results of this operation?

Then you create action you should get response like this:

{
  id: “{action-instance-id}”
}

Later you may read this action:

GET https://graph.facebook.com/{action-instance-id}

You for sure may benefit from doing request to get multiple actions like this:

GET https://graph.facebook.com/?ids={action-id1},{action-id2},{action-idn}

And even batch those requests