Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[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

Merged

Conversation

@ismail1432
Copy link
Contributor

@ismail1432ismail1432 commentedAug 13, 2020
edited
Loading

QA
Branch?master for features 5.2
Bug fix?no
New feature?yes/no
Deprecations?yes/no
TicketsFix#34563
LicenseMIT
Doc PRsymfony/symfony-docs#...

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 greenmissing improvement body construction and integration test with update changes + framework integration

Notification sent with this PR

atailouloute reacted with heart emoji
Copy link
Contributor

@YaFouYaFou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Small review ;)

@ismail1432ismail1432force-pushed thenotifier-add-linkedin-provider branch 2 times, most recently fromaf79138 toe5dfb1dCompareAugust 15, 2020 08:50
@ismail1432ismail1432 changed the title[Notifier] WIP Add linkedin provider[Notifier] Add LinkedIn providerAug 16, 2020
Copy link

@HaiYassinHaiYassin left a 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

ismail1432 reacted with thumbs up emoji
@ismail1432
Copy link
ContributorAuthor

failing test seems not related 🤔

Copy link
Member

@fabpotfabpot left a 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())));
Copy link
Member

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)

Copy link
ContributorAuthor

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)
;
Copy link
Member

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

Copy link
ContributorAuthor

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
====================
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

extra=

Copy link
ContributorAuthor

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
) {
Copy link
Member

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

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

fixed

@fabpot
Copy link
Member

@ismail1432 Can you submit a PR on symfony/recipes?

@fabpot
Copy link
Member

Thank you@ismail1432.

@fabpotfabpot merged commit14c9d05 intosymfony:masterAug 18, 2020
@fabpotfabpot mentioned this pull requestOct 5, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

+3 more reviewers

@HaiYassinHaiYassinHaiYassin left review comments

@SHTIKOVSHTIKOVSHTIKOV left review comments

@YaFouYaFouYaFou requested changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Notifier] Add a LinkedInTransport

6 participants

@ismail1432@fabpot@HaiYassin@SHTIKOV@YaFou@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp