(not being a great javascript/jquery coder, i may recommend doing a $.ajax call instead of the $.getJSON -- in the beforeSend callback do a request.setRequestHeader with the basic auth headers as documented at -- but what do i know)


How i can do the basic authentication with $.getJSON function? I just
can get json file without authentication:

var url = '
 $.getJSON(url, function(data){
       $.each(data.results, function(i,item){});

but if i want this url "
user_timeline.json" i need to authenticate.

Can you help me on this?

best regards

Raffi Krikorian
Twitter Platform Team | @raffi

Reply via email to