# Sending invite link to FB messenger automatically logins

**URL:** https://meta.discourse.org/t/sending-invite-link-to-fb-messenger-automatically-logins/55981
**Category:** Feature
**Created:** [2017年一月18日 18:07 UTC](https://meta.discourse.org/t/sending-invite-link-to-fb-messenger-automatically-logins/55981 "2017-01-18T18:07:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![amaral\_miguel2](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@amaral\_miguel2](https://meta.discourse.org/u/amaral_miguel2)
#### Post date: [2017年一月18日 18:07 UTC](https://meta.discourse.org/t/sending-invite-link-to-fb-messenger-automatically-logins/55981/1 "2017-01-18T18:07:07Z")

</div>

Action : Create invite via profile page, choose create link, copy link, paste into facebook messenger conversation.  
Expected behavior : After the link is clicked and some confirmation is given by the invitee, an account is created and a notification is sent to the inviter saying the invite was accepted.  
Actual behavior: As soon as the message appears as sent (not seen), a notification appears on discourse saying the corresponding user accepted the invite.

Not sure if bug, but it is certainly weird.

Discourse version: v1.8.0.beta1 +3

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2017年一月18日 23:28 UTC](https://meta.discourse.org/t/sending-invite-link-to-fb-messenger-automatically-logins/55981/2 "2017-01-18T23:28:57Z")

</div>

Some automated / scanning process is visiting the link when you post it there.

@techapj we should make sure javascript checks are in place for invites, so a command line `curl` retrieval command doesn’t trigger them at least.

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [2017年一月25日 10:59 UTC](https://meta.discourse.org/t/sending-invite-link-to-fb-messenger-automatically-logins/55981/3 "2017-01-25T10:59:47Z")

</div>

Okay, added a confirmation button to accept invite:

[https://github.com/discourse/discourse/commit/9dd09e453beaedefb01fe6c98ff524b7a4b074a9](https://github.com/discourse/discourse/commit/9dd09e453beaedefb01fe6c98ff524b7a4b074a9)

---

<div class="post-metadata">

### Author: ![amaral\_miguel2](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@amaral\_miguel2](https://meta.discourse.org/u/amaral_miguel2)
#### Post date: [2017年一月29日 12:06 UTC](https://meta.discourse.org/t/sending-invite-link-to-fb-messenger-automatically-logins/55981/4 "2017-01-29T12:06:42Z")

</div>

I tested it too, it works!
