 import UIKit
 import OAuthSwift
 
+/**
+*   This controller get user information when already it logged
+*/
 class SecondViewController: UIViewController {
     @IBOutlet weak var textField: UILabel!
     

    }
    
    
}
    override func viewDidLoad() {
        super.viewDidLoad()
        var parameters =  Dictionary<String, AnyObject>()
        /**
        *   the var oauthswift calls client and this in turn runs a get function, in which the user data is obtained
        */
        oauthswift.client.get("https://api.linkedin.com/v1/people/~?format=json", parameters: parameters,
            success: {
                data, response in
                /**
                *   You can parse the data from String to JSON, because is better handles the client information.
                */
                let jsonDict: AnyObject! = NSJSONSerialization.JSONObjectWithData(data, options: nil, error: nil)
                println(jsonDict)
                
