René's URL Explorer Experiment


Title: Linkedin: Migrate to versioned APIs · Issue #1058 · scribejava/scribejava · GitHub

Open Graph Title: Linkedin: Migrate to versioned APIs · Issue #1058 · scribejava/scribejava

X Title: Linkedin: Migrate to versioned APIs · Issue #1058 · scribejava/scribejava

Description: Linkedin changes to versioned api. See: https://learn.microsoft.com/en-us/linkedin/marketing/versioning?trk=eml-mktg-cust-202304-global-api-migrations-june&mcid=7054174543908663296&src=e-eml&view=li-lms-2023-04 This has some impact. 1.Ch...

Open Graph Description: Linkedin changes to versioned api. See: https://learn.microsoft.com/en-us/linkedin/marketing/versioning?trk=eml-mktg-cust-202304-global-api-migrations-june&mcid=7054174543908663296&src=e-eml&view=l...

X Description: Linkedin changes to versioned api. See: https://learn.microsoft.com/en-us/linkedin/marketing/versioning?trk=eml-mktg-cust-202304-global-api-migrations-june&mcid=7054174543908663296&src=e-em...

Opengraph URL: https://github.com/scribejava/scribejava/issues/1058

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Linkedin: Migrate to versioned APIs","articleBody":"Linkedin changes to versioned api. See: [https://learn.microsoft.com/en-us/linkedin/marketing/versioning?trk=eml-mktg-cust-202304-global-api-migrations-june&mcid=7054174543908663296&src=e-eml&view=li-lms-2023-04](url)\r\n\r\nThis has some impact.\r\n\r\n1.Change needed to OAuth20Service\r\n```\r\nfinal OAuth20Service service = new ServiceBuilder(clientId)\r\n                .apiSecret(clientSecret)\r\n                .defaultScope(new ScopeBuilder(\"r_liteprofile\", \"r_emailaddress\"))\r\n                .callback(\"http://example.com/callback\")\r\n                .build(LinkedInApi20.instance());\r\n```\r\n\r\na. LinkedInApi20 need different endpoints: change v2 to rest\r\n```\r\n    public String getAccessTokenEndpoint() {\r\n        return \"https://www.linkedin.com/oauth/**rest**/accessToken\";\r\n    }\r\n\r\n    protected String getAuthorizationBaseUrl() {\r\n        return \"https://www.linkedin.com/oauth/**rest**/authorization\";\r\n    }\r\n```\r\n\r\nThis could be solved by using an extention of LinkedInApi20 with the rest endpoint. But it is better that LinkedInApi20 gets updated.\r\n\r\nb. the oauth request need to get a version header. I think for this, scribejava lib needs a change\r\n\r\n2. Change to Resource api. This is easy and does not require a change of the scribeapi.\r\n\r\nIn the example [https://github.com/scribejava/scribejava/blob/master/scribejava-apis/src/test/java/com/github/scribejava/apis/examples/LinkedIn20Example.java](url) change the resource endpoint:\r\nnow:\r\n    ```\r\n    private static final String PROTECTED_RESOURCE_URL = \"https://api.linkedin.com/v2/me\";\r\n    private static final String PROTECTED_EMAIL_RESOURCE_URL\r\n            = \"https://api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~))\";\r\n```\r\n\r\nchage to\r\n```\r\n    private static final String PROTECTED_RESOURCE_URL = \"https://api.linkedin.com/**rest**/me\";\r\n    private static final String PROTECTED_EMAIL_RESOURCE_URL\r\n            = \"https://api.linkedin.com/**rest**/emailAddress?q=members&projection=(elements*(handle~))\";\r\n```\r\n..\r\nfinal OAuthRequest request = new OAuthRequest(Verb.GET, PROTECTED_RESOURCE_URL);\r\n**request.addHeader(\"LinkedIn-Version\", \"202304\");**","author":{"url":"https://github.com/peternees","@type":"Person","name":"peternees"},"datePublished":"2023-04-26T10:14:19Z","url":"https://github.com/scribejava/scribejava/issues/1058"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7d8d8b6e-55f5-7898-0915-07c323c022f9
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD8A4:266BB:AA3835:F1E0B9:6AFCB85D
html-safe-nonce0e1b4de8eacb3a6cdbbf00c53512958206f065b39fabe0c281b19fc76ed9ac4e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOEE0OjI2NkJCOkFBMzgzNTpGMUUwQjk6NkFGQ0I4NUQiLCJ2aXNpdG9yX2lkIjoiNzI1ODc0NDgxOTM5MDY1ODY1MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac75b4d25772c6635ce25f010fe0bbb998493ed909c6dfc86a51a99877fe674fe6
hovercard-subject-tagissue:1684724958
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/scribejava/scribejava/1058/issue_layout
twitter:imagehttps://opengraph.githubassets.com/14549f27a7de0b54622ea26e207b043023ad0192e1391c5b1e75742d59c07a66/scribejava/scribejava/issues/1058
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/14549f27a7de0b54622ea26e207b043023ad0192e1391c5b1e75742d59c07a66/scribejava/scribejava/issues/1058
og:image:altLinkedin changes to versioned api. See: https://learn.microsoft.com/en-us/linkedin/marketing/versioning?trk=eml-mktg-cust-202304-global-api-migrations-june&mcid=7054174543908663296&src=e-eml&view=l...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepeternees
hostnamegithub.com
expected-hostnamegithub.com
Nonee3084aead77cbcb4f4904fba53851fa1a0546b0dec3619bd250815e72588dc6d
turbo-cache-controlno-preview
go-importgithub.com/scribejava/scribejava git https://github.com/scribejava/scribejava.git
octolytics-dimension-user_id15140551
octolytics-dimension-user_loginscribejava
octolytics-dimension-repository_id889932
octolytics-dimension-repository_nwoscribejava/scribejava
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id889932
octolytics-dimension-repository_network_root_nwoscribejava/scribejava
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5410e4bebd3e45b138c853ecef3992279d86d5af
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/scribejava/scribejava/issues/1058#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscribejava%2Fscribejava%2Fissues%2F1058
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscribejava%2Fscribejava%2Fissues%2F1058
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=scribejava%2Fscribejava
Reloadhttps://github.com/scribejava/scribejava/issues/1058
Reloadhttps://github.com/scribejava/scribejava/issues/1058
Reloadhttps://github.com/scribejava/scribejava/issues/1058
scribejavahttps://github.com/scribejava
scribejavahttps://github.com/scribejava/scribejava
Codehttps://github.com/scribejava/scribejava
Issues44 (44)https://github.com/scribejava/scribejava/issues
Pull requests32 (32)https://github.com/scribejava/scribejava/pulls
Actionshttps://github.com/scribejava/scribejava/actions
Projectshttps://github.com/scribejava/scribejava/projects
Wikihttps://github.com/scribejava/scribejava/wiki
Security and qualityhttps://github.com/scribejava/scribejava/security
Insightshttps://github.com/scribejava/scribejava/insights
https://github.com/scribejava/scribejava
New issuehttps://github.com/login?return_to=https://github.com/scribejava/scribejava/issues/1058
New issuehttps://github.com/login?return_to=https://github.com/scribejava/scribejava/issues/1058
Linkedin: Migrate to versioned APIshttps://github.com/scribejava/scribejava/issues/1058#top
https://github.com/peternees
peterneeshttps://github.com/peternees
on Apr 26, 2023https://github.com/scribejava/scribejava/issues/1058#issue-1684724958
https://learn.microsoft.com/en-us/linkedin/marketing/versioning?trk=eml-mktg-cust-202304-global-api-migrations-june&mcid=7054174543908663296&src=e-eml&view=li-lms-2023-04https://github.com/scribejava/scribejava/issues/url
https://github.com/scribejava/scribejava/blob/master/scribejava-apis/src/test/java/com/github/scribejava/apis/examples/LinkedIn20Example.javahttps://github.com/scribejava/scribejava/issues/url
https://api.linkedin.com/v2/mehttps://api.linkedin.com/v2/me
https://api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~))https://api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~))
https://github.com/peternees
peterneeshttps://github.com/peternees
on Apr 26, 2023https://github.com/scribejava/scribejava/issues/1058#issuecomment-1523477150
https://www.linkedin.com/oauth/rest/authorizationhttps://www.linkedin.com/oauth/rest/authorization
v2https://www.linkedin.com/oauth/v2/authorization
https://api.linkedin.com/rest/emailAddress?q=members&projection=(elements*(handle~))https://api.linkedin.com/rest/emailAddress?q=members&projection=(elements*(handle~))
https://api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~))https://api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~))
https://api.linkedin.com/rest/mehttps://api.linkedin.com/rest/me
Sign up for freehttps://github.com/signup?return_to=https://github.com/scribejava/scribejava/issues/1058
Sign in to commenthttps://github.com/login?return_to=https://github.com/scribejava/scribejava/issues/1058
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.