Skip to content

Add optional Xquik tweet source context - #17

Open
kriptoburak wants to merge 1 commit into
SakethSripada:masterfrom
kriptoburak:codex/add-xquik-tweet-context
Open

Add optional Xquik tweet source context#17
kriptoburak wants to merge 1 commit into
SakethSripada:masterfrom
kriptoburak:codex/add-xquik-tweet-context

Conversation

@kriptoburak

Copy link
Copy Markdown

Summary:

  • Add an optional Xquik Topic field to the Twitter automation form so AI tweet prompts can include short Xquik tweet-search source examples when XQUIK_API_KEY is configured.
  • Add xquik_utils.py to fetch bounded source examples from https://xquik.com/api/v1/x/tweets/search.
  • Document the optional XQUIK_API_KEY setting.

Target improvements:

  • Avoid scraping an empty URL before checking whether URL context was requested.
  • Validate post interval values and reject negative intervals before scheduling.
  • Validate malformed schedule times and stop saving passed scheduled times as scheduled tweet records.
  • Reject empty tweet content before posting or storing the job.

Validation:

  • python3 -m py_compile app.py xquik_utils.py
  • git diff --check

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.

1 participant