dkkhare
when i user mine twitter app keys than no cation on click of login button. mean twitter login page not opening. please help
Barebone Twitter Client Starter
Ionic Twitter Client - Barebone Twitter Client Starter App
This Ionic Twitter Client uses ng-twitter to connect to your twitter account. Tested on iOS and Android. It has everything you need to start working on your Twitter Client or your App Social integration. You can use the sample app I created on apps.twitter.com for your testing. You will have to replace the Twitter App Consumer Key, Consumer Secret and Callback url to get this production ready.
Check out my other useful starters are here: Great Ionic Starters.
sudo npm install -g ionic
ionic platform add ios
ionic platform add android
bower install ng-twitter-api --save
cordova plugin add cordova-plugin-inappbrowser
cordova plugin add cordova-plugin-whitelist
npm install --save ng-resource
ionic emulate ios
(don't use live reload)ionic run android
(after you start genymotion emulator instance)ionic server
or ionic run -l
you might encounter Cross Origin Issues (CORS). You can read about it here.Hey there! You'll need to log in before you can leave a comment here.
when i user mine twitter app keys than no cation on click of login button. mean twitter login page not opening. please help
Hey, yes when you make your own app on "https://apps.twitter.com/app/new" you will have to save a callback URL. For local testing this url is http://localhost/callback but you have to use tiny URL in order for twitter to accept it. Try using this one "http://tinyurl.com/krmpchb" for your callback url in your twitter app settings.
Where should the callback URL be put?
@Chuanjie You will put the callback url when you register your app on twitter (https://apps.twitter.com) there you will get the new consumerID and secret key.
no tweets were loaded at all after login
@Jason sorry to hear that, can you tell me how you are running the project?
How do I make the adjustment to a user timelime ? "https://api.twitter.com/1.1/statuses/user_timeline.json"
In the description says: Show Home Timeline - Show User Timeline - Post Tweets - Display time since post was created - Display Twitter names and handle names But I see in the code where they are those functions. Can you help me?
@Ducxclan in the tab-dash.html data is being read from twitterFeed object. In there you can make modifications to how the data is displayed. While in the controllers.js `IonicTwitter.getTwitterFeed` gets called to get the home timeline.
no tweets were loaded at all after login
is there any changes required at "https://api.twitter.com/1.1/statuses/user_timeline.json" and It automatically get the user data or not.
@venkat how are you launching the project?
@Neven Hi, I downloaded and ran the project. But I can't login with Twitter at all. Is there any changes you have to do?
How did you run the project?
I ran it with ionic serve --lab. But running it in emulator worked. @Neven
That's because cross origin isn't set up. You can read about how to do that here: http://rubberchickin.com/origin-is-not-allowed-by-access-control-allow-origin-ionic/
And a more in depth explanation is here: http://blog.ionic.io/handling-cors-issues-in-ionic/
Do you plan to create an Ionic2 version ?
Hey, I don't have any plans for that right now. I will re-evaluate later when I have more time.
Do you plan to create an Ionic2 version ?
Hey, I don't have any plans for that right now. I will re-evaluate later when I have more time.
@Neven Hi, I downloaded and ran the project. But I can't login with Twitter at all. Is there any changes you have to do?
How did you run the project?
I ran it with ionic serve --lab. But running it in emulator worked. @Neven
That's because cross origin isn't set up. You can read about how to do that here: http://rubberchickin.com/origin-is-not-allowed-by-access-control-allow-origin-ionic/
And a more in depth explanation is here: http://blog.ionic.io/handling-cors-issues-in-ionic/
@venkat how are you launching the project?
is there any changes required at "https://api.twitter.com/1.1/statuses/user_timeline.json" and It automatically get the user data or not.
no tweets were loaded at all after login
@Ducxclan in the tab-dash.html data is being read from twitterFeed object. In there you can make modifications to how the data is displayed. While in the controllers.js `IonicTwitter.getTwitterFeed` gets called to get the home timeline.
Hey, yes when you make your own app on "https://apps.twitter.com/app/new" you will have to save a callback URL. For local testing this url is http://localhost/callback but you have to use tiny URL in order for twitter to accept it. Try using this one "http://tinyurl.com/krmpchb" for your callback url in your twitter app settings.
How do I make the adjustment to a user timelime ? "https://api.twitter.com/1.1/statuses/user_timeline.json"
@Jason sorry to hear that, can you tell me how you are running the project?
no tweets were loaded at all after login
@Chuanjie You will put the callback url when you register your app on twitter (https://apps.twitter.com) there you will get the new consumerID and secret key.
Where should the callback URL be put?
when i user mine twitter app keys than no cation on click of login button. mean twitter login page not opening. please help
In the description says: Show Home Timeline - Show User Timeline - Post Tweets - Display time since post was created - Display Twitter names and handle names But I see in the code where they are those functions. Can you help me?
Hey there! You'll need to log in before you can leave a rating here.
This is exactly what I wanted. Just the basics already done (client-side) so I could just test out ideas with the Twitter API. Didn't need it on a server yet, but I hate doing the grunt work just to get Twitter data. $5 well spent!
{{ rating.comment }}
{{ rating.comment }}
This is exactly what I wanted. Just the basics already done (client-side) so I could just test out ideas with the Twitter API. Didn't need it on a server yet, but I hate doing the grunt work just to get Twitter data. $5 well spent!