CasperLaiTW / laravel-fb-messenger

Laravel Facebook Messenger Provider
MIT License
105 stars 27 forks source link

Referral in m.me links #77

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hi! I couldn't find this feature in the library "First-Time Use Scenario", Is this correct? You you gonna implement that? On the other hand, I need the feature which can get referral from the web hook when the user instead pushing the button, "Existing User Scenario" in the Facebook docs. thanx

CasperLaiTW commented 7 years ago

Hi @Iprieto It's correct, I didn't support this feature.

I will check and figure out to make it. but I am busy this week.

So I will back soon :)

ghost commented 7 years ago

Ok. Thank you, I gonna stay here expectant, maybe I will have a little bit of time to try to implement this feature

CasperLaiTW commented 7 years ago

Cool, Thank you for this.

If you want to send PR, I look forward to seeing your PR :)

CasperLaiTW commented 7 years ago

Hi @Iprieto

I release v1.4.6.

Now you can get referral array from getReferral.

ghost commented 7 years ago

Hi @CasperLaiTW! I've already changed the library for my own use in another fork, I added some feature like separate the referral handler in another type of file. I'd like to merge this with your code if you allow this. I developed another functionality, that is multibot support, you can see my fork and I can request a pull request.

CasperLaiTW commented 7 years ago

I saw your changed. :) you are legend.

I like your ReferralHandler idea, but some code I didn't understand why to do this.

Can I write my question on your commit? then we can discuss it :)

ghost commented 7 years ago

Of course, ask whatever you want! There is some things which need some adjustments