-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
return NULL #1212
Comments
It's probably an issue with the credentials. Though I would expect the response to be an error message. |
Yes i expected error or not authorized.. but its returning null .. of you
can assist me i will send the credentials of the app and change them later
is it oky ?
…On Sat, Nov 25, 2023, 10:55 PM Abraham Williams ***@***.***> wrote:
It's probably an issue with the credentials. Though I would expect the
response to be an error message.
—
Reply to this email directly, view it on GitHub
<#1212 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC6WO463VHSUEHN7WBUN7ZTYGJELFAVCNFSM6AAAAAA7YMBAS6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRWGQYDQNBYGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
@amerhamdan3 for me worked as you expected. but I'm using version 5 of the library. 🤔 |
@amerhamdan3 The problem is that for version 6.x the default version configured is 2, and the endpoint that you are trying to get comes from the 1.1 , so, I tested and this worked:
Regards |
@hizmarck Thank you now i am getting the error message ,, you are a saver |
ILOVEYOU |
What are you attempting to do
i am trying to do simple api request to twitter
Expected behavior
to return any thing than null
Actual behavior
NULL
Code example
i was trying to do more complex api but i was troubleshooting and returning to basics
Versions:
"abraham/twitteroauth": "^6.2",
"guzzlehttp/guzzle": "^7.8"
The text was updated successfully, but these errors were encountered: