Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Since version 1 is marked as deprecated.
https://dev.twitter.com/docs/api
Since version 1 of the API will cease working soon, we will not create a new branch.
Comments
Comment #1
juampynr CreditAttribution: juampynr commentedOops, I did not take long in changing my mind.
I will work on branch 7.x-4.x as this branch loads the Twitter library using Libraries module, which is a great strategy to share the library and reduce our maintenance time as there is only one library to maintain and not one per branch.
http://drupal.org/project/libraries
Comment #2
juampynr CreditAttribution: juampynr commentedUpgrading the library at https://github.com/juampy72/twitter-rest-php/commits/master.
Comment #3
juampynr CreditAttribution: juampynr commentedI have implemented most of the API endpoints at https://github.com/juampy72/twitter-rest-php/commits/master.
TwitterOAuth class has been merged into Twitter class, as now OAuth is mandatory.
Since tomorrow I will start reviewing the code so it uses the new library. The fact that OAuth is mandatory is great because it simplifies considerable the module's logic.
Comment #4
juampynr CreditAttribution: juampynr commentedManaged to add accounts with the new library. Now I will move on to pull tweets.
Comment #5
juampynr CreditAttribution: juampynr commentedAnd Tweets are also being pulled in correctly :D
Comment #6
juampynr CreditAttribution: juampynr commentedReviewed all sub modules. Main logic of the module works correctly using the 1.1 REST API.
Comment #7
juampynr CreditAttribution: juampynr commentedBackporting to 6.x-4.x. Created and pushed the branch although it is not visible yet at the version form field.
Comment #8
juampynr CreditAttribution: juampynr commentedUpdated logic to add Twitter accounts and list tweets.
Comment #9
juampynr CreditAttribution: juampynr commentedThe 6.x-4.x branch is almost ready. I could not make Rules integration to work completely but I think it is an issue with Rules rather than with the Twitter API.
Comment #10
volresource CreditAttribution: volresource commentedThank you for this work. I couldn't get v6.x-3.0 to work, after finally upgrading from the beta (6.x-3.0-beta6). But 4 beta1 did!
I try to avoid betas, but there you go. On first installing 4 beta1, the user twitter account seemed to have disappeared, I think this was a server glitch but I was fooled by the lack of 'twitter post success' message - switched off the modules before checking the twitter account and noticing that the test post HAD worked.
Is there any chance you can get the 'twitter success' message to be meaningful - it had been giving this message despite failure since the last success using 3.0 beta6 back on 9 Oct 2012.
Thanks again.
Comment #11
juampynr CreditAttribution: juampynr commented@volresource, please create a specific issue with your problem. This issues is just to track the upgrade of the REST API that the module uses.
Comment #12
juampynr CreditAttribution: juampynr commentedMarking this as fixed. I will create a bug for the pending bug at 6.x-4.x and then this is ready to be released.