Major rewrite of threads/threads_client.py based on official Meta Threads API docs: 1. Threads Profiles API - get_user_profile() with full fields 2. Threads Media API - updated get_user_threads(), get_thread_by_id() with complete fields 3. Threads Reply Management - get_conversation() for full tree, manage_reply() for hide/unhide 4. Threads Publishing API - create_container(), publish_thread(), create_and_publish() 5. Threads Insights API - get_thread_insights(), get_user_insights(), get_thread_engagement() 6. Rate Limiting - get_publishing_limit(), can_publish() 7. Pagination - _get_paginated() helper with cursor-based pagination 8. POST support - _post() method for write operations Also: - Updated check_token.py to use full profile fields - Added [threads.publishing] config section - Added use_conversation and use_insights config options - Optimized thread selection with engagement-based ranking - Use conversation endpoint instead of just replies for better data Agent-Logs-Url: https://github.com/thaitien280401-stack/RedditVideoMakerBot/sessions/c01dbc92-66f9-4a1f-bf83-7f0a75dd9968 Co-authored-by: thaitien280401-stack <271128961+thaitien280401-stack@users.noreply.github.com>pull/2482/head
parent
1c5b309709
commit
7384043d78
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue