Closed stevenay closed 5 years ago
Merging #92 into master will increase coverage by
0.08%
. The diff coverage is100%
.
@@ Coverage Diff @@
## master #92 +/- ##
===========================================
+ Coverage 71.32% 71.4% +0.08%
- Complexity 477 479 +2
===========================================
Files 49 50 +1
Lines 1332 1336 +4
===========================================
+ Hits 950 954 +4
Misses 382 382
Impacted Files | Coverage Δ | Complexity Δ | |
---|---|---|---|
src/Events/MessagingAccountLinking.php | 100% <100%> (ø) |
1 <1> (?) |
|
src/FacebookDriver.php | 84.37% <100%> (+0.16%) |
75 <0> (+1) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 5ccdd07...54818be. Read the comment docs.
To enable the account linking process on Messenger, we need to listen "messaging_account_linking" event on Botman. For example;
$botman->on('messaging_account_linking', AuthController::class . '@handleAccountLinking');
So, in this pull request, I've added
MessagingAccountLinking
Facebook event class and addedaccount_linking
switch-case in getEventFromEventData method.