-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Behavior to support commenting behavior in publiclab.org #71
Comments
+1!
…On Mon, Aug 21, 2017 at 2:37 PM, Ananyo Maiti ***@***.***> wrote:
Now that commenting via token has been done in plots2 we should add a
behavior that would listen to a mention for plotsbot in the comment and
respond with a reply. We need to make a POST request with the token header.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#71>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ1RxZAPs985IEZCBfIyjQh-fZIPUks5saWv8gaJpZM4O9PDs>
.
|
@ananyo2012 Right now, the commenting process in one-way. The bot can make comments on the website, but it has no way of knowing if someone else made a comment. Perhaps we could add such a functionality? |
Ah, so something like:
1. see recent posts
2. identify a post and leave a comment on it
3. query the site for what comments are on that post (requires new API call)
4. reply again in a new comment
so we'd need 3), right?
…On Tue, Aug 22, 2017 at 3:04 PM, Ujjwal Sharma ***@***.***> wrote:
@ananyo2012 <https://github.com/ananyo2012> Right now, the commenting
process in one-way. The bot can make comments on the website, but it has no
way of knowing if someone else made a comment. Perhaps we could add such a
functionality?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#71 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ9Q4x6DL6ZuJVyl0EW4-dvcJqqFKks5sayZNgaJpZM4O9PDs>
.
|
Could that look like:
`https://publiclab.org/api/comments/node/<nid>/` ?
…On Tue, Aug 22, 2017 at 4:07 PM, Jeffrey Warren ***@***.***> wrote:
Ah, so something like:
1. see recent posts
2. identify a post and leave a comment on it
3. query the site for what comments are on that post (requires new API
call)
4. reply again in a new comment
so we'd need 3), right?
On Tue, Aug 22, 2017 at 3:04 PM, Ujjwal Sharma ***@***.***>
wrote:
> @ananyo2012 <https://github.com/ananyo2012> Right now, the commenting
> process in one-way. The bot can make comments on the website, but it has no
> way of knowing if someone else made a comment. Perhaps we could add such a
> functionality?
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#71 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AABfJ9Q4x6DL6ZuJVyl0EW4-dvcJqqFKks5sayZNgaJpZM4O9PDs>
> .
>
|
@jywarren once we have the persistent behavior trigger, adding to the API could be done easily. One of us could make an issue for that on the plots2 repository. (Or is it too early?) |
yes, please do open an issue for that! Does the URL look reasonable?
…On Tue, Aug 22, 2017 at 4:51 PM, Ujjwal Sharma ***@***.***> wrote:
@jywarren <https://github.com/jywarren> once we have the persistent
behavior trigger, adding to the API could be done easily.
One of us could make an issue for that on the plots2 repository. (Or is it
too early?)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#71 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ5YNmck2SElTf7Nsy05l7X8G7JxDks5saz9UgaJpZM4O9PDs>
.
|
@jywarren It does! I will make an issue for that in a moment. |
Now that commenting via token has been done in plots2 we should add a behavior that would listen to a mention for
plotsbot
in the comment and respond with a reply. We need to make a POST request with the token header.The text was updated successfully, but these errors were encountered: