Skip to content

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add get_follower_ids tool #40

wants to merge 2 commits into from

Conversation

kkdai
Copy link
Member

@kkdai kkdai commented Apr 27, 2025

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 Tool

  • Added a new tool, get_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)
  • Imported axios to facilitate API requests for the new tool. (src/index.ts, src/index.tsR24)

Documentation Updates

  • Updated both README.md and README.ja.md to include details about the get_follower_ids tool, including inputs, return values, and usage notes. [1] [2]
  • Added minor formatting and consistency improvements to the documentation, such as fixing a link format and improving clarity. [1] [2] [3] [4] [5]

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.

@CLAassistant
Copy link

CLAassistant commented Apr 27, 2025

CLA assistant check
All committers have signed the CLA.

@Yang-33 Yang-33 requested a review from eucyt April 28, 2025 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a tool to get user id list of followers
2 participants