Releases: ayrshare/social-post-api-python
Releases · ayrshare/social-post-api-python
v1.3.0 — X/Twitter BYO support
What's new
- X/Twitter Bring-Your-Own-Keys (BYO) support. Added
set_twitter_byo(api_key, api_secret)andclear_twitter_byo()toSocialPost. When set, every outbound request includes the requiredX-Twitter-OAuth1-Api-KeyandX-Twitter-OAuth1-Api-Secretheaders — required for X/Twitter operations now that Ayrshare's BYO requirement is enforced (as of March 31, 2026). See the X BYO setup guide. - README cleanup. Removed duplicated paragraphs, fixed typos (e.g. capabilities, Google Business Profile), corrected the update post and generate alt text links, tightened the intro copy.
test.pyfixes. Use the top-level Ayrshare post id frompostResult['id']forgetPost/delete(the/postresponse usespostIds[]for per-platform ids only). Now loads optional Twitter BYO credentials fromAPI-KEY.jsonand warns clearly when they're missing.- New
smoke_test.pyfor verifying installation without an API key. - New
tests/test_byo.pyunit tests covering header attach/clear/chaining, instance isolation, and coexistence withProfile-Key.
Install
pip install --upgrade social-post-api==1.3.0PyPI: https://pypi.org/project/social-post-api/1.3.0/
Full Changelog: v1.2.5...v1.3.0