Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Facebook mentions #265

Closed
ptrcnull opened this issue Jul 10, 2018 · 11 comments
Closed

Facebook mentions #265

ptrcnull opened this issue Jul 10, 2018 · 11 comments
Labels
API issue currently impossible, because API (or module) doesn't allow to do it enhancement

Comments

@ptrcnull
Copy link
Member

ptrcnull commented Jul 10, 2018

mention people on Messenger from Discord

@ptrcnull ptrcnull added this to the 4.0.0 milestone Jul 10, 2018
@jtylr
Copy link

jtylr commented Aug 25, 2018

@Bjornskjald - Any progress on this one? Was about to crack open the code to see if I could make @everyone work from discord -> Messenger but wasn't sure what the messenger library supported.

@ptrcnull
Copy link
Member Author

@everyone won't work because messenger doesn't have such option

@jtylr
Copy link

jtylr commented Aug 25, 2018

Looking at the API that miscord uses, we could get a list of group members and then mention each of them in a message if the source platform is Discord, that's my plan anyway.

@ptrcnull
Copy link
Member Author

it would need a switch to disable it, using it in big groups (100+ people) would be catastrophic

@jtylr
Copy link

jtylr commented Aug 25, 2018

Yep, totally agree - If I have a chance to look at this, I'll open a PR with a config option for you.

@ptrcnull ptrcnull modified the milestones: 4.0.0, 4.1.0 Oct 4, 2018
@tatumalenko
Copy link
Contributor

Does the Messenger side API or library currently have that functionality possible (to tag a user on Messenger) yet? I browsed the API briefly but didn't see it. I'd be willing to take a crack at this.

@ptrcnull
Copy link
Member Author

I was trying to implement it in ChatPlug/libfb, but wasn't able to, we apparently use a wrong endpoint for sending messages

@jtylr
Copy link

jtylr commented Oct 10, 2018

I had a beta one-way version of tagging working here - It's in the wrong file and has only been hacked together as a test. Facebook has since blocked the facebook account I was using though so I've not worked on it since. This just used @e so I didn't have to type too much to test.

By no means is that code clean, it doesn't contain a config option (it should) but it may show how to do this.

I do wonder if mass-tagging users is what caused Facebook to flag the account as a bot though. Mass-tagging could potentially look like a spam-bot action. YMMV.

@ptrcnull
Copy link
Member Author

We're using a different library now, based on mobile Messenger instead of the web version, so there's a different API than before

@jtylr
Copy link

jtylr commented Oct 10, 2018

Ah, my bad - I guess that happened in the last week or two. I'll have to update and see if that can do anything new!

@ptrcnull ptrcnull modified the milestones: 4.1.0, 4.2.0 Oct 12, 2018
@ptrcnull ptrcnull added the API issue currently impossible, because API (or module) doesn't allow to do it label Oct 20, 2018
@ptrcnull
Copy link
Member Author

Fixed in ede8d63.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
API issue currently impossible, because API (or module) doesn't allow to do it enhancement
Projects
None yet
Development

No branches or pull requests

3 participants