Hello community,
I'm trying to post automatically with hypeWall plugin. When a user writes something on the wall i would like to give him a reply which is also released on the wall, eg user writes "hello" on the wall and the wall replies with a new post with message "Hello user". Now I have to understand how hypeWall plugin works and how it releases posts. I'm very new to php programming and really need help.
Til now I wrote a client which sends the post message to an api, and the api should answer with a post back.
Maybe I can use
hypeApps()->actions->execute(new SavePost()), which executes action SavePost.
I'm searching for a solution like the_wire_save_post() which can save wire posts on the wire.
Hope that someone also uses hypewall and can help.
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.
- ihayredinov@ihayredinov
ihayredinov - 0 likes
- Alper He@Alper
Alper He - 0 likes
- Alper He@Alper
Alper He - 0 likes
- ihayredinov@ihayredinov
ihayredinov - 0 likes
- Chris She@freytagxiii
Chris She - 0 likes
- ihayredinov@ihayredinov
ihayredinov - 0 likes
- Chris She@freytagxiii
Chris She - 0 likes
You must log in to post replies.Wall post replies are Elgg comments. Add an event listener for 'create','object', check if it's a wall post and create a comment on the wall post object.
I'm not trying to comment the post, i'm trying to create a whole new post only with code.
Hello Ismayil Kharedinov,
forget what I wrote earlier. What I'm trying to realize is to make a post with code. eg a plugin which makes, when activated, a post on the wall. Can you please help?
This might be helpful: https://github.com/hypeJunction/hypeGraph/blob/master/classes/hypeJunction/Graph/Controllers/Wall.php#L45
Hey guys,
I'm also interested in this topic and already checked out the HypeGraph plugin.
I created an API consumer in the admin section which does not appear anywhere on the site afterwards, but seems to be created in the database. To start with something basic I then looked up the corresponding api_key entry and added it to my request:
https://mysite.com/services/api/graph/?username={username}&api_key={corresponding api_key from database}
As far as I know, this should return a list with all available API endpoints. But everything I get here is that the API authetication failed.
Did I do anything wrong there? And shouldn't like a list of consumers be shown under admin -> RESTful Graph -> API Consumers?
I am working with the Elgg 2.0 release candidate... Maybe this could be the point?
Thanks already
I haven't actually tested the graph on 2.x yet, but I expect it to work for the most part. Try disabling and enabling the plugin again, sounds like the entity subtype wasn't registered properly on plugin activation.
Thank you, after disabling and enabling the consumers are now displayed correctly and the call mentioned before also works. I hope this will help me get the functionality I want for my site :D