-
Notifications
You must be signed in to change notification settings - Fork 61
feat: Add get_follower_ids tool #40
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Thank you! I'll check this. |
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.
Thank you very much, and I'm sorry for the delay in my review (we had a holiday in Japan).
I’ve left a few comments, so please take a look.
Also, please resolve the conflicts as well 🙏
3edcb80
to
bcc2937
Compare
line#40) Update src/index.ts Co-authored-by: Yuta Euchi <[email protected]> Update src/index.ts Co-authored-by: Yuta Euchi <[email protected]> Update src/index.ts Co-authored-by: Yuta Euchi <[email protected]> Update README.md Co-authored-by: Yuta Euchi <[email protected]> Update README.ja.md Co-authored-by: Yuta Euchi <[email protected]> Update README.ja.md Co-authored-by: Yuta Euchi <[email protected]> chore(deps): update pnpm to v10.11.0 (line#67) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> chore(deps): update dependency @types/node to v22.15.18 (line#69) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> fix(deps): update dependency @modelcontextprotocol/sdk to v1.11.3 (line#70) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update README.md Co-authored-by: Yuta Euchi <[email protected]> ✨ Add get_follower_ids tool to retrieve user IDs of followers for LINE Official Account 📝 Update README.ja.md to remove redundant information and clarify get_follower_ids tool details. refactor(code): remove unused get_message_quota tool
@eucyt |
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.
Thank you for your contribution.
In addition, please resolve conflict in package-lock.json by update base branch
LINE公式アカウントをお持ちであれば、[こちらの手順](https://developers.line.biz/ja/docs/messaging-api/getting-started/#using-oa-manager)に従ってMessaging APIを有効にしてください。 | ||
|
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.
This not should be removed.
- LINE公式アカウントを友だち追加したユーザーのユーザーID一覧を取得します。 | ||
- **入力:** | ||
- `start` (string?): ページネーション用の継続トークン。省略時は先頭から取得します。 | ||
- `limit` (number?): 取得するユーザーIDの最大数(1~1000)。デフォルトは1000。 |
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.
- `limit` (number?): 取得するユーザーIDの最大数(1~1000)。デフォルトは1000。 | |
- `limit` (number?): 取得するユーザーIDの最大数(1~1000)。デフォルトは300。 |
- Gets the list of User IDs of users who have added your LINE Official Account as a friend. | ||
- **Inputs:** | ||
- `start` (string?): Continuation token for pagination. If omitted, fetches from the beginning. | ||
- `limit` (number?): Maximum number of user IDs to retrieve (1-1000). Default is 1000. |
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.
- `limit` (number?): Maximum number of user IDs to retrieve (1-1000). Default is 1000. | |
- `limit` (number?): Maximum number of user IDs to retrieve (1-1000). Default is 300. |
import pkg from "../package.json" with { type: "json" }; | ||
import axios from "axios"; |
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.
import pkg from "../package.json" with { type: "json" }; | |
import axios from "axios"; |
line#40) Update src/index.ts Co-authored-by: Yuta Euchi <[email protected]> Update src/index.ts Co-authored-by: Yuta Euchi <[email protected]> Update src/index.ts Co-authored-by: Yuta Euchi <[email protected]> Update README.md Co-authored-by: Yuta Euchi <[email protected]> Update README.ja.md Co-authored-by: Yuta Euchi <[email protected]> Update README.ja.md Co-authored-by: Yuta Euchi <[email protected]> chore(deps): update pnpm to v10.11.0 (line#67) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> chore(deps): update dependency @types/node to v22.15.18 (line#69) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> fix(deps): update dependency @modelcontextprotocol/sdk to v1.11.3 (line#70) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Update README.md Co-authored-by: Yuta Euchi <[email protected]> ✨ Add get_follower_ids tool to retrieve user IDs of followers for LINE Official Account 📝 Update README.ja.md to remove redundant information and clarify get_follower_ids tool details. refactor(code): remove unused get_message_quota tool
@kkdai ping |
@kkdai |
Resolve #15
This pull request introduces a new feature to retrieve the user IDs of followers of a LINE Official Account, along with documentation updates and minor fixes. The key changes include the addition of the
get_follower_ids
tool, updates to the English and Japanese README files to document this feature, and a minor code import adjustment.New Feature:
get_follower_ids
Toolget_follower_ids
, to fetch user IDs of users who have added the LINE Official Account as a friend. This includes support for pagination and limits. The implementation uses the LINE Messaging API and handles errors gracefully. (src/index.ts
, src/index.tsR217-R241)axios
to facilitate API requests for the new tool. (src/index.ts
, src/index.tsR24)Documentation Updates
README.md
andREADME.ja.md
to include details about theget_follower_ids
tool, including inputs, return values, and usage notes. [1] [2]These changes enhance the functionality of the project by providing a new way to interact with LINE Official Accounts while improving the clarity and usability of the documentation.