tgallice / fb-messenger-sdk

Facebook Messenger Bot php sdk
MIT License
94 stars 45 forks source link

Add AccountLink button #25

Closed Archweii closed 8 years ago

tgallice commented 8 years ago

:+1: can you add a test too ?

Archweii commented 8 years ago

I have tested it in my Facebook Bot and it worked :)

tgallice commented 8 years ago

@kormid a test for the class you create :) Something like that : https://github.com/tgallice/fb-messenger-sdk/blob/master/spec/Model/Button/WebUrlSpec.php

tgallice commented 8 years ago

I you want to know a bit more about phpspec : http://www.phpspec.net/en/stable/

Archweii commented 8 years ago

So, the file is in the AccountLink-button branch

Archweii commented 8 years ago

I'm out, sorry @tgallice but i have full up with one project so i don't really have the time, i thought it was going to be easier but anyway, you understand what i tried to do and you may want to do it yourself instead :), thank's a lot for trying and thank you again :)

tgallice commented 8 years ago

@kormid no worries, I understand. If you have other idea/improvement don't hesitate to open a issue. I will implement this. Thank for your efforts.