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, over 1 year ago
Updated 17 August 2023, over 1 year 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 over 1 year ago
    3 pass
Production build 0.71.5 2024