Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 536
Benoit Hediard Avatar asked Nov 04 '11 10:11

Benoit Hediard


1 Answers

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

like image 140
Juicy Scripter Avatar answered Nov 20 '22 03:11

Juicy Scripter