Login

    Register

Managed Hosting

PROJECT CATEGORIES

 

(monkeh)Tweet Twitter API
Project Home Blog Known Issues Contact Project

(monkeh)Tweet Twitter API Issue: Could not authenticate you error

Name: Could not authenticate you error
ID: 9
Project: (monkeh)Tweet Twitter API
Type: Bug
Area: Code
Severity: Normal
Status: Closed
Related URL:
Creator: Rachit Arora
Created: 10/03/13 10:40 AM
Updated: 01/15/14 2:29 PM
Description: Hi,
Thank you for the awesome work in building this.
I am trying to use this api to post tweets for multiple users. I already have their accessToken and accessSecret but not their consumerKey and consumerSecret.
In the Application.cfc, you mentioned that if we intent to you this for a number of different accounts, we only need to specify the consumerKey and consumerSecret in the init function and the accessToken, accessSecret and the screen_name in the post.cfm. When I enter the required information and run post.cfm, I get the "Could not authenticate you" error from twitter.
The only time it posts successfully is if I enter that particular accounts consumerKey and consumerSecret in the Application.cfc.
If I try to enter a different accounts accessToken, accessSecret and the screen_name, I get the same "Could not authenticate you" error. Let me know if I need to enter the consumerKey and consumerSecret in the Application.cfc for every account.
Thank you.
History: Created by rachit (Rachit Arora) : 10/03/13 10:40 AM

Comment by coldfumonkeh (Matt Gifford aka coldfumonkeh) : 01/15/14 2:29 PM
All I can say to this is to read the documentation and the example code that comes with the library. If you want to authenticate multiple users you need to set their details (accessToken, accessSecret etc) using the setFinalAccessDetails() method.

A full explanation of how to do this with multiple users (including video) can be found on my blog here: http://monkeh.me/n5cwy

Updated by coldfumonkeh (Matt Gifford aka coldfumonkeh) : 01/15/14 2:29 PM

To add a comment to this bug, please login using the link above.