Cannot load trending topics using AJAX?



I’m trying to have a little box on my website which shows a list of currently trending topics on twitter. This is what I’m currently doing:

             var top = '';

					$("#hot").append('<p>'' </p>');

However, I get the following errors:

Failed to load resource: the server responded with a status of 403 (Forbidden)

XMLHttpRequest cannot load Origin http://localhost is not allowed by Access-Control-Allow-Origin.

How should I solve this? Thanks


Have you solved it?

closed #3