Feishu/Lark
Fastest eay to get App ID / App Secret
Lark:https://open.larksuite.com/page/openclaw Feishu:https://open.feishu.cn/page/openclaw
Once you get App ID and App Secrect, Go to the Step "Paste App ID and App Secret to Frevana" below, and You are Done 🎉
Watch our video guide below if needed
Step by step to get App ID / App Secret
This document provides an introduction to the app configurations required for developing the Echo Bot.
Create a Custom App, Get App ID and App Secret
To provide services to users, you must create an app as a carrier. For details, refer to Introduction to App Types.
1. Log in to the Feishu Developer Console to create an app.
1. On the Basic Info > Credential & Basic Info page, you can view the app's App ID and App Secret.

Add App Capabilities: Bot
To allow the app to receive and send messages, you must enable the bot capability for the app. For details, refer to Bot Overview.
In the Feishu Developer Console, on the Features > Add Features page, add the Bot capability.

Apply for App Identity Permissions: - Obtain private messages sent to the bot (im:message.p2p_msg:readonly) - Send messages as an app (im:message:send_as_bot) - Obtain group messages mentioning the bot (im:message.group_at_msg:readonly)
- To call APIs or subscribe to events for data operations through the app, you must apply for corresponding permissions for the app for security reasons. - The specific permissions to be enabled can be found in the API and event documentation you want to call and subscribe to. - If calling APIs via tenant_access_token, apply for app identity permissions; if calling APIs via user_access_token, apply for user identity permissions. For details, refer to Applying for API Permissions.
1. Refer to the Send Message, Reply Message API, and Receive Message event documentation to get the permissions to be enabled.
2. In the Feishu Developer Console, on the Development Configuration > Permissions & Scopes page, enable app identity permissions.

Add Event: Receive Message event (im.message.receive_v1)
To receive messages sent by users in a timely manner, you need to subscribe to the receive message event for the app. For details, refer to Event Overview.
1. In the Feishu Developer Console, on the Development Configuration > Event & Callback > Event Configuration page, edit the Subscription Method.
2. Choose Receive events through persistent connection and Save.
Tip: You need to run the sample code to establish a long connection before saving this subscription method.
3. In the Events added area, click Add Events and add the Message received (im.message.receive_v1) event.

Publish the App
When the app's basic information, permission scopes, and app functions change, you need to publish a new version of the app for the changes to take effect. The custom app release process can be found in Publishing the App.
In the Feishu Developer Console, on the App Versions > Version Management & Release page, click Create a version, fill in the version information, and publish the app. If this release requires admin review, it is recommended to create a new enterprise for testing to avoid review time.

Paste App ID and App Secret to Frevana

Last updated