Title: Improve builder · Issue #1033 · scribejava/scribejava · GitHub
Open Graph Title: Improve builder · Issue #1033 · scribejava/scribejava
X Title: Improve builder · Issue #1033 · scribejava/scribejava
Description: Looks like a great simple to use library. Can I suggest a further improvement: Instead of OAuthService service = new ServiceBuilder(YOUR_API_KEY) .apiSecret(YOUR_API_SECRET) .build(LinkedInApi20.instance()); Do something more readable an...
Open Graph Description: Looks like a great simple to use library. Can I suggest a further improvement: Instead of OAuthService service = new ServiceBuilder(YOUR_API_KEY) .apiSecret(YOUR_API_SECRET) .build(LinkedInApi20.in...
X Description: Looks like a great simple to use library. Can I suggest a further improvement: Instead of OAuthService service = new ServiceBuilder(YOUR_API_KEY) .apiSecret(YOUR_API_SECRET) .build(LinkedInApi20.in...
Opengraph URL: https://github.com/scribejava/scribejava/issues/1033
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improve builder","articleBody":"Looks like a great simple to use library. \r\n\r\nCan I suggest a further improvement:\r\n\r\nInstead of \r\n```java\r\nOAuthService service = new ServiceBuilder(YOUR_API_KEY)\r\n .apiSecret(YOUR_API_SECRET)\r\n .build(LinkedInApi20.instance());\r\n```\r\nDo something more readable and more discoverable (I want an OAuthService, use a static factory method on OAuthService):\r\n```java\r\nOAuthService service = OAuthService\r\n .apiKey(YOUR_API_KEY)\r\n .apiSecret(YOUR_API_SECRET)\r\n .build(LinkedInApi20.instance());\r\n```\r\n","author":{"url":"https://github.com/davidmoten","@type":"Person","name":"davidmoten"},"datePublished":"2022-03-01T06:49:03Z","url":"https://github.com/scribejava/scribejava/issues/1033"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ae404114-3cf3-fa7e-9aab-e94e81f05859 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D9CC:9FF1A:AC0ABD:F49660:6AFCB865 |
| html-safe-nonce | 13565d45603dbb6db49a5ab2523007dd0c892bda818245a5de0af94f2d24dfd4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUNDOjlGRjFBOkFDMEFCRDpGNDk2NjA6NkFGQ0I4NjUiLCJ2aXNpdG9yX2lkIjoiMjMyNDE5MzE0NzExMTY1MTQyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 68609bcae39f892a343f383ac392dac45bb967d9dc9930209ccc4d3539acc30a |
| hovercard-subject-tag | issue:1154940318 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/scribejava/scribejava/1033/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4619ef0336a4f06e030606c8e02530b4006182aa6e4b7cf1a4bc3026927994a1/scribejava/scribejava/issues/1033 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4619ef0336a4f06e030606c8e02530b4006182aa6e4b7cf1a4bc3026927994a1/scribejava/scribejava/issues/1033 |
| og:image:alt | Looks like a great simple to use library. Can I suggest a further improvement: Instead of OAuthService service = new ServiceBuilder(YOUR_API_KEY) .apiSecret(YOUR_API_SECRET) .build(LinkedInApi20.in... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | davidmoten |
| hostname | github.com |
| expected-hostname | github.com |
| None | e3084aead77cbcb4f4904fba53851fa1a0546b0dec3619bd250815e72588dc6d |
| turbo-cache-control | no-preview |
| go-import | github.com/scribejava/scribejava git https://github.com/scribejava/scribejava.git |
| octolytics-dimension-user_id | 15140551 |
| octolytics-dimension-user_login | scribejava |
| octolytics-dimension-repository_id | 889932 |
| octolytics-dimension-repository_nwo | scribejava/scribejava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 889932 |
| octolytics-dimension-repository_network_root_nwo | scribejava/scribejava |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5410e4bebd3e45b138c853ecef3992279d86d5af |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width