You currently have access to a subset of Twitter API v2 endpoints and limited v1.1 endpoints (e.g. media post, oauth) only.

Created on 2 August 2023, 11 months ago
Updated 17 August 2023, 11 months ago

Problem/Motivation

Get error message 'You currently have access to a subset of Twitter API v2 endpoints and limited v1.1 endpoints (e.g. media post, oauth) only.' when posting through 'statuses/update'.

Steps to reproduce

When using TwitterPostManager->post method.

Proposed resolution

Convert code from Twitter v1.1 to Twitter v2

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia mindcraft Melbourne

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @mindcraft
  • πŸ‡¦πŸ‡ΊAustralia mindcraft Melbourne
  • πŸ‡¦πŸ‡ΊAustralia Nadim Hossain

    Hi @mindcraft,

    Thanks for creating this issue. I saw the fork and the branch you created, do not see any changes pushed in there. Let me know if you are still actively working on this. I am asking cause I just started working on it as well for my project and If I find something, I might push it here for testing, unless you push the update first :)

    Thanks again

  • πŸ‡¦πŸ‡ΊAustralia mindcraft Melbourne

    Hi @Nadim,

    Please feel free to push your code here for testing :). I only have very limited time to works on this issue so it will take me a while.

  • πŸ‡¦πŸ‡ΊAustralia Nadim Hossain

    I have updated the post and media api end points. This statuses/update end point for v1.1 seems to be dead and generate the error above. The dependency package abraham/twitteroauth is updated to be compatible with twitter api 2 and by default use it when requesting. Temporary I have made the "Callback function for the authentication process" when adding user to use api 1.1, cause migrating that part will require a bit. more work. Currently this will enable to continue using this module while working on the code migration for authentication process.

  • Open in Jenkins β†’ Open on Drupal.org β†’
    Core: 10.1.x + Environment: PHP 8.1 & sqlite-3.27
    last update 11 months ago
    3 pass
Production build 0.69.0 2024