daithi-coombes / wp-comment-flowdock

Automatically have wordpress post comments sent to flowdock
0 stars 0 forks source link

No method to post comments to inbox #2

Open daithi-coombes opened 11 years ago

daithi-coombes commented 11 years ago

There's no method to post comments to the inbox. Posts can be posted easily but there's no way to get the message id to forward comments to the flows inbox

daithi-coombes commented 11 years ago

a non-pretty hack...

after submiting the wordpress post to the inbox, wait 5 seconds then get list of messages, match first title against one just sent and use the id from that.

    //will get list of inbox messages
    $url = "https://{$user_flow_apikey}@api.flowdock.com/flows/web-eire/main/messages";     
    $res = $module->request($url, "get", array(
        'event' => 'mail'
    ));
daithi-coombes commented 11 years ago

hack doesn't matter. There's no way to post a comment to an inbox/influx item using the current api

mrdavidlaing commented 11 years ago

@david-coombes Could you make a screencast explaining where you'd like the post comments to end up in Flowdock.

Using that, let's try get some help from @anttipitkanen from Flowdock.

anttipitkanen commented 11 years ago

Unfortunately the public Flowdock API doesn't have the ability to post comments at the moment. This is definitely something that we are going to implement in the near future, but for now there's no way to do that.

mrdavidlaing commented 11 years ago

@anttipitkanen Thanks for the update. We'll be watching the release changelogs :smile:

daithi-coombes commented 11 years ago

@anttipitkanen Look forward to seeing the api develop. I also left a suggestion on uservoice.com that would be directly related to what we want to achieve, as in commenting on inbox items: API push to inbox should return message id, so comments can be pushed to relevant inbox item

Mumakil commented 10 years ago

@daithi-coombes @mrdavidlaing We recently published a comments api to Flowdock API: see https://flowdock.com/api/messages. Hope this helps with your plugin!