Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Notifier] Add LinkedIn provider#37830
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
YaFou left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Small review ;)
src/Symfony/Component/Notifier/Bridge/LinkedIn/LinkedInTransport.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Notifier/Bridge/LinkedIn/LinkedInTransport.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Notifier/Bridge/LinkedIn/LinkedInTransport.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Notifier/Bridge/LinkedIn/LinkedInTransportFactory.phpShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
af79138 toe5dfb1dCompare
HaiYassin left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
GG for this working
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Notifier/Bridge/LinkedIn/Tests/LinkedInTransportTest.phpShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Notifier/Bridge/LinkedIn/Tests/LinkedInTransportTest.phpShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Notifier/Bridge/LinkedIn/Tests/LinkedInTransportTest.phpShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Notifier/Bridge/LinkedIn/Tests/LinkedInTransportTest.phpShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
ismail1432 commentedAug 18, 2020
failing test seems not related 🤔 |
fabpot left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Minor style changes needed.
| public static function fromNotification(Notification $notification): self | ||
| { | ||
| $options = new self(); | ||
| $options->specificContent((new ShareContentShare($notification->getSubject()))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
extra() can be removed (same 3 more times below)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
fixed
| return (new LinkedInTransport($authToken, $accountId, $this->client, $this->dispatcher)) | ||
| ->setHost($host) | ||
| ->setPort($port) | ||
| ; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Can be on one line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
fixed
| @@ -0,0 +1,20 @@ | |||
| LinkedIn Notifier | |||
| ==================== | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
extra=
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
fixed
| bool $landingPage = false, | ||
| string $landingPageTitle = null, | ||
| string $landingPageUrl = null | ||
| ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
should be on one line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
fixed
011d958 to0064caeComparefabpot commentedAug 18, 2020
@ismail1432 Can you submit a PR on symfony/recipes? |
fabpot commentedAug 18, 2020
Thank you@ismail1432. |
Uh oh!
There was an error while loading.Please reload this page.
Add the LinkedIn provider for the Notifier
Few months ago I created a bridge to send message to LinkedIn, followingthe discussion here I create the PR.
If you're curiousI wrote an article where I use the bridge
[Edit] test are green
missing improvement body construction and integration test with update changes + framework integrationNotification sent with this PR