def get_contact_list(filter, options={ skip: nil, count: nil, auth_token: nil })
      auth_token = options[:auth_token] || @auth_token
      check_auth_token(auth_token, ["graph/read"])

      response = http_client(MXIT_API_URI + "/user/socialgraph/contactlist") do |http, path|

        parameters = { :filter => filter }
        # skip and count are optional
        parameters[:skip] = options[:skip] if options[:skip]
        parameters[:count] = options[:count] if options[:count]

        request = Net::HTTP::Get.new(path + "?#{URI.encode_www_form(parameters)}")
        set_api_headers(request, auth_token.access_token)

        http.request(request)
      end

      handle_response(response)
    end
def get_contact_list(filter, options={ skip: nil, count: nil, auth_token: nil })
      auth_token = options[:auth_token] || @auth_token
      check_auth_token(auth_token, ["graph/read"])

      response = http_client(MXIT_API_URI + "/user/socialgraph/contactlist") do |http, path|

        parameters = { :filter => filter }
        # skip and count are optional
        parameters[:skip] = options[:skip] if options[:skip]
        parameters[:count] = options[:count] if options[:count]

        request = Net::HTTP::Get.new(path + "?#{URI.encode_www_form(parameters)}")
        set_api_headers(request, auth_token.access_token)

        http.request(request)
      end

      handle_response(response)
    end
The following filter parameters are available (only one can be specified at a time):
   @All - Return all roster entries
   @Friends - Return only friends
   @Apps - Return only applications
   @Invites  - Return all entries that is in an invite state
   @Connections  - Return all entries that has been accepted
   @Rejected - Return all entries that has been rejected
   @Pending - Return all entries that is waiting to be accepted by the other party
   @Deleted - Return all entries that was deleted
   @Blocked - Return all entries that was blocked