     // Arr of FacebookFriends
     var friendsFromFacebook: [AnyObject]? = []
     
+    var followsFromTwitter: [String]? = []
+    
     let facebookLogInButton = FBSDKLoginButton()
     
     var twitterLogInButton = TWTRLogInButton()
     
     override func viewDidLoad() {
         super.viewDidLoad()
+        print("find friends")
         
         configureFacebook()        
         prepareCorrectNetworkTableView()
-        
-        twitterLogInButton = TWTRLogInButton(logInCompletion: { session, error in
-            if (session != nil) {
-                print("signed in as \(session!.userName)")
-                self.twitterLogin()
-            } else {
-                print("error: \(error!.localizedDescription)")
-            }
-        })
     }
 
     @IBAction func networkButtonPressed(sender: UIButton) {

                        print("Result Data: \(data)")
                        
                        for id in data {
                            followsFromTwitter?.append(String(id))
                        }
                        
                        // Check and add twitterFriends
                        if followsFromTwitter != nil {
                            // Check if twitterFriends are availabe in your App
                            Tapglue.searchUsersOnSocialPlatform(TGPlatformKeyTwitter, withSocialUsersIds: followsFromTwitter, andCompletionBlock: { (twitterUsers: [AnyObject]!, error: NSError!) -> Void in
                                if error != nil {
                                    print("\nError searchUsersOnSocialPlatform: \(error)")
                                }
                                else {
                                    print("\nSuccessful - twitterFriends: \(twitterUsers)")
                                    
                                    self.users.removeAll(keepCapacity: false)
                                    self.users = twitterUsers as! [TGUser]
                                    
                                    self.users.sortInPlace({ (contact1, contact2) -> Bool in
                                        return contact1.username < contact2.username
                                    })
                                    
                                    dispatch_async(dispatch_get_main_queue(), { () -> Void in
                                        self.twitterLogInButton.hidden = true
                                        
                                        self.reloadTableViewWithAnimation()
                                    })
                                }
                            })
                        }
                        
                        print(followsFromTwitter!.count)
                        
                        if cursorNext != 0 {
                            self.getTwitterFriends(cursorNext)
                        }
                    } else {
                        print("error loading json data = \(jsonError)")

                    print(success)
                })
                
                // Bool to check if user granted permission for twitter
                self.defaults.setObject(true, forKey: "twitterPermission")
                
                self.getTwitterFriends(-1)
            } else {
