Closed

PHP / Drupal expert needed- Twitter module and Twitter API

This project received 11 bids from talented freelancers with an average bid price of $227 USD.

Get free quotes for a project like this
Employer working
Project Budget
N/A
Total Bids
11
Project Description

I was using the Twitter 6.x-3.0-beta4 Drupal module for my website, and recently upgraded to Twitter-6.x-5.1, and since then my website has not been able to publish Tweets. It's also possible that the source of the problem is recent changes Twitter made to its API.

More background information about the problem:

My website needs to publish tweets from an official Twitter account. It also allows site users to sign-in using Twitter.

Initially when the website was created, we had the problem where we had the Twitter app given permission to both Read tweets and Publish tweets. So when our users wanted to sign in using their Twitter account, they would see:

"This application will be able to:
Read Tweets from your timeline.
See who you follow, and follow new people.
Update your profile.
Post Tweets for you."

We didn't need to "Post Tweets" for our users, so we wanted to get rid of this unnecessary permission, but still allow that one Twitter account, that was linked to our website, to be able to publish Tweets.

The solution we found is here:

I might have found a Twitter API parameter that allows us to require different levels of access from different users:

[url removed, login to view]

This allowed us to give the Twitter app only "publishing" permission, but pass a special parameter in the API request in order to give Twitter permission to publish tweets for a particular user. It's described as such:

"You can do this now by using the x_auth_access_type parameter during the request_token phase. Using this parameter you can request a read or a read/write token even if your application is registered for read/ write/direct messages."

Any way, this solution has worked until recently.

Now, we can't even publish tweets when we give the Twitter app both Read and Write permission. I am getting the following error right now when making a API call to Twitter:

[data] => {"errors":[{"message":"Invalid or expired token","code":89}]}

I would like to first, get the Twitter publishing working, and second, use a solution like the previous special API call that allows us to publish tweets with one Twitter account even without the Twitter app having Write permissions.

I need the developer I work with to connect to my server using Teamviewer, and look through the Twitter Drupal module code and the code of whatever other module required until the bug is found and fixed.

I'm looking for affordable bids, as I think this is a relatively easy problem to solve for someone who is familiar with the Twitter API and Drupal.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online