Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 1.01 KB

File metadata and controls

14 lines (13 loc) · 1.01 KB

Twitter_login

  1. create a project from terminal as ionic start TwitterLogin blank
    2)cd TwitterLogin project
    3)Add the required platform in terminal as ionic add platform and****
    4)Add the ng-cordova.min.js file above the cordova.ja file in our project
    5)Insert that 'ngCordova' dependency in app.js file
    6)Add the required plugin to display the twitter homeline tweet's
    7)In terminal please type the cmd as cordova plugin add org.apache.cordova.inappbrowser
    8)In terminal please include the Oauth library by typing the cmd as bower install ng-cordova-oauth -S
    9)Include the Ouath js file in project as <script src="../ng-cordova-oauth/dist/ng-cordova-oauth.min.js"></script>
  2. Include the required dependency in project as angular.module('starter', ['ionic', 'ngCordovaOauth']
    11)In app.js I wrote an Controller to display the homeline Tweet's and it's functionality please have a look
    12)Please update your cordova platform if the above procedure doesn't work