Closed Behinder closed 7 years ago
Sorry to hear you ran into so much trouble with your Codebird tries. Are you planning to use this for a desktop or for a web app?
Well depend how you see "desktop" or "web". Let's say it's "web" because I need script who will be run on server side and posting tweets from time to time. To get script working I need Token for the twitter account that will post tweet. And I cannot get any :(
I put scripts on external server instead of localhost. the same behaviour. Tomorrow I try different solutions, if there are any :/
If it’s on the web, you need to provide a callback function to get the response token. The code will work, as it’s in use with many websites around.
If you just need a token to post to your own account, create an app at [apps.twitter.com]() and see the resulting access token and secret there. Does that work for you?
Closing this due to no further reply received. If you see this and want to restart the conversation, feel free to comment here.
I am struggling whole day with your library on my local server. In this code:
the part inside IF is never run. using var_dump shows me every time that session variable is set..wtf? I am never able to be redirected to auth webpage. I need tokens for my different account than the one I created an app. I tried running the page in different browsers, closing and opening windows but this is still the same. When I try to show this session variable I got "c6QOjwAAAAAAzMCgAAABWjywg3M" which obviously is NOT Oauth access token because it should start with my twitterID followed by "-". This is very frustrating (as well as whole Twitter API) 👎
Edit: Masked consumer key and secret.