إدارة الصفحة
- “اعرض كل الكتل في صفحتي”
- “أضف رابطًا جديدًا إلى حسابي على Instagram”
- “احذف كتلة العنوان”
- “غيّر عنوان صفحتي إلى «روابطي»”
أنشئ GPT مخصصًا يتصل بصفحتك في Bink ويدير كل شيء باللغة الطبيعية: الروابط والنماذج والإحصاءات والحجوزات والرسائل.
ابنِ GPT يدير صفحتك في Bink مستخدمًا Bink REST API كإجراءات (Actions).
انتقل إلى استخدم Bink من مساعدك واضغط «إنشاء المفتاح». انسخه، فستحتاج إليه للمصادقة.
افتح ChatGPT ← استكشاف GPTs ← إنشاء. سمِّه مثلًا «مدير Bink الخاص بي» وأضف هذه التعليمات:
أنت مدير صفحات Bink. تساعد المستخدم على إدارة صفحته في Bink (منصة link-in-bio). يمكنك إضافة الكتل (الروابط والعناوين وأيقونات التواصل الاجتماعي) وتعديلها وحذفها وإعادة ترتيبها. ويمكنك عرض الإحصاءات، وإدارة النماذج وردودها، والتعامل مع الرسائل الواردة، وإدارة الحجوزات. اطلب دائمًا تأكيد الإجراءات التي تحذف أو تُتلف شيئًا قبل تنفيذها.في محرر GPT، انقر «إنشاء إجراء جديد». اضبط المصادقة (Authentication) على «API Key» باسم الترويسة «Authorization» والقيمة:
Bearer bink_your_token_hereثم الصق مخطط OpenAPI أدناه في حقل المخطط (schema).
{
"openapi": "3.1.0",
"info": {
"title": "Bink API",
"version": "1.0.0",
"description": "Manage your Bink page"
},
"servers": [
{ "url": "https://bink4.me" }
],
"paths": {
"/api/blocks": {
"get": {
"operationId": "listBlocks",
"summary": "List all blocks on the page",
"responses": { "200": { "description": "Array of blocks" } }
},
"post": {
"operationId": "createBlock",
"summary": "Create a new block",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"type": { "type": "string", "enum": ["link", "header", "social", "text", "image", "video", "divider"] },
"title": { "type": "string" },
"url": { "type": "string" },
"active": { "type": "boolean" }
},
"required": ["type"]
}
}
}
},
"responses": { "200": { "description": "Created block" } }
}
},
"/api/blocks/{id}": {
"put": {
"operationId": "updateBlock",
"summary": "Update a block",
"parameters": [{ "name": "id", "in": "path", "required": true, "schema": { "type": "string" } }],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"title": { "type": "string" },
"url": { "type": "string" },
"active": { "type": "boolean" }
}
}
}
}
},
"responses": { "200": { "description": "Updated block" } }
},
"delete": {
"operationId": "deleteBlock",
"summary": "Delete a block",
"parameters": [{ "name": "id", "in": "path", "required": true, "schema": { "type": "string" } }],
"responses": { "200": { "description": "Deleted" } }
}
},
"/api/analytics": {
"get": {
"operationId": "getAnalytics",
"summary": "Get page analytics (views, clicks, top blocks)",
"responses": { "200": { "description": "Analytics data" } }
}
},
"/api/bookings": {
"get": {
"operationId": "listBookings",
"summary": "List bookings",
"responses": { "200": { "description": "Array of bookings" } }
}
},
"/api/bookings/{id}": {
"put": {
"operationId": "updateBookingStatus",
"summary": "Confirm or cancel a booking",
"parameters": [{ "name": "id", "in": "path", "required": true, "schema": { "type": "string" } }],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"status": { "type": "string", "enum": ["confirmed", "cancelled"] }
}
}
}
}
},
"responses": { "200": { "description": "Updated booking" } }
}
},
"/api/page/settings": {
"get": {
"operationId": "getPageSettings",
"summary": "Get page settings",
"responses": { "200": { "description": "Page settings" } }
},
"put": {
"operationId": "updatePageSettings",
"summary": "Update page title, description, SEO",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"title": { "type": "string" },
"description": { "type": "string" }
}
}
}
}
},
"responses": { "200": { "description": "Updated settings" } }
}
},
"/api/forms": {
"get": {
"operationId": "listForms",
"summary": "List all forms",
"responses": { "200": { "description": "Array of forms" } }
}
},
"/api/forms/{id}/responses": {
"get": {
"operationId": "getFormResponses",
"summary": "Get form responses",
"parameters": [{ "name": "id", "in": "path", "required": true, "schema": { "type": "string" } }],
"responses": { "200": { "description": "Array of responses" } }
}
}
}
}استخدم لوحة المعاينة (Preview) لاختبار أوامر مثل «اعرض كتلي» أو «اعرض إحصاءاتي». وعندما تكون راضيًا، انشره لنفسك أو شاركه.
هذه أهم نقاط نهاية API التي يستطيع GPT المخصص استدعاءها. تتطلب جميعها رمز Bearer في ترويسة Authorization.
/api/blocksList all blocks/api/blocksCreate a new block/api/blocks/{id}Update a block/api/blocks/{id}Delete a block/api/blocks/reorderReorder blocks/api/page/settingsGet page settings/api/page/settingsUpdate page settings/api/page/themeGet page theme/api/page/themeUpdate page theme/api/page/publishToggle page publish/api/formsList forms/api/forms/{id}Get form details/api/formsCreate a form/api/forms/{id}Update a form/api/forms/{id}/responsesGet form responses/api/analyticsGet page analytics/api/bookingsList bookings/api/bookings/{id}Update booking statusبعد إعداد GPT المخصص، جرّب هذه الأوامر.
أنشئ رمز وصول شخصيًا وابدأ ببناء GPT مخصص لـ Bink.