Foursquare: Can't get JSON data from Server

I am able to get an authorization code from Foursquare but having issues accessing the data.

Here is the relevant code:

    var getCheckin = function (access_token) {
        var  userrequest = { 
            userID: self, //stays
            limit: 100,  
            sort: 'newestfirst'  

        var result = $.ajax({
            url: ""+access_token,
            data: userrequest, //stays
            dataType: "jsonp",  //stays
            type: "GET"  //stays
            console.log("Looks like your ajax request was sent");

        .fail(function(jqXHR, error, errorThrown) { //stays common element
            var errorElem = showError(error); //stays common element
            $('.search-results').append(errorElem); //stays common element


    var getData = function(result) {
        console.log("Looks like your function was fired off");

Here is the API endpoint I am using:

From My debug Tracer I get the following error:

(failed) net::ERR_FAILED


Need Your Help

css3 transitionend doesn't fire on firefox

javascript css

Please look at the next fiddle and help me understand why in Firefox, the alerts aren't fired.

OpenOffice Calc macro to add pie chart

macros charts openoffice-calc basic

I am trying to insert a piechart in open-office using macro. But the code shows error:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.