Have a look at 3rd parameter of elgg_register_action that you used in your code: http://reference.elgg.org/actions_8php.html#a18557a1ccc92a76725b0359680865447
That did it! (In retrospect, quite a silly mistake)
Thank you!
The answer to "is it possible to X with Y in Elgg?" is usually "yes." It will take knowledge of Elgg and the 3rd party's API to do it, though.
Elgg's relationship model and the underlying database table are very simple. I very little experience with Gephi, but I'd start by looking into what format the API accepts as input and look into exporting Elgg's relationship data in that format. Gephi is a Java app, so you won't be able to access its API directly through PHP.
Hmmm alright. On the brighter side, ive just found a plugin that exports elgg data into a gephi format (SNA4Elgg, if anyone's interested) which seem to have some of the features i was planning to add. Will be testing that out. Thanks for the help!
Here's a link to the SNA4Elgg plugin if someone is wondering where to find it: http://community.elgg.org/plugins/1614744/1.1/sna4elgg
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.