2
votes
1answer
28 views
New Twitter API - they say no way to use ajax but will this work?
I am working on fixing an older connection string to Twitter's api that simply pulls the number of followers to display it.
The site is : www.democracywatch.ca
You can see the current request syntax ...
1
vote
1answer
23 views
Google Maps API: How do I combine two scripts into one?
I am trying to do a number of things with the Google Map API:
- Give users the ability to click and add a marker to a map, save that location to an xml file, then send an email with the coordinates
- ...
1
vote
2answers
25 views
.val is not giving me the value of my element
I am working with a reddit API. I have a search box on my page and I am trying to set it up so that if one were to type virtually anything it would return the top 10 news stories related to the word ...
0
votes
2answers
43 views
how to 'off' all events with one call
Simply the question is that, how to off all events with one call, for example if I have another events like 'mouseleave, mouseenter, keyup, keydown ...'.
What I'm doing here is that each time the ...
0
votes
0answers
16 views
Unable to pass boolean value via ajax call, but the same call works with a rest HTTP client
I have to pass a Boolean value to a REST API. When I use Advance REST Client (chrome extension) to do it, I am able to pass it. But when I trigger the API through a jQuery Ajax call, the Boolean value ...
0
votes
2answers
57 views
jQuery's .done() and .always() never getting called
I'm trying to do a simple ajax api call, but my jQuery .done() and .always() callbacks are never getting run, even after a successful call.
Here's where I do the api call:
join: (e) ->
...
0
votes
0answers
24 views
IE10: iframe.contentWindow.name returns iframe.name
function addIframe(name, src) {
var iframe_html = "" + "<iframe" + ' name="' + name + '"' + ' src="' + src + '"' + ' style="display: none;"' + "></iframe>";
var $iframe = ...
0
votes
0answers
14 views
Google Maps API: map.zoom() / map.center() -> jQueryUI animations don't work anymore
I'm having trouble with two methods of the google maps API and jQueryUI animations. When I redefine the center of the map or change the zoom with map.Center() / map.Zoom(), all my color animations ...
0
votes
0answers
8 views
How to add features to GISCloud.com Embed map using API
I need to add some features to www.giscloud.com using its API :
Note : to understand what am talk about , you need to signup and then upload some map , and try to explore the service and what does it ...
0
votes
1answer
31 views
get a random set of photos using instagram API
I'm using jquery to access my photos using the instagram API. I use the endpoint url
https://api.instagram.com/v1/users/'+id+'/media/recent?callback=?&count=4
where "id" is substituted with my ...
0
votes
1answer
27 views
Save JSON response
I'm working with Javascript. I have a JSON response from Mediafire API :
{
"response": {
"action": "session_token",
"session_token": "dskldkshjkfsffkjdkslk3783c214a86e7kfkdo",
...
0
votes
1answer
36 views
JSON ajax keeps throwing undefined using Freebase API
I want to read Freebase API http://smartsearch.kd.io . I managed to do one part but now I want to retrieve the geolocation coordinates and create a map but it doesn't seem to work.
Here's my JS code ...
0
votes
0answers
32 views
How to get some data from locu API?
this is my firt time using an API. I just want to get some data via javascript from locu menus, but this is not working well. Can you help me with a simple example, please? thanks.
var t = null;
...
0
votes
1answer
19 views
No Royal Mail API, Safe to scrape?
I was looking around for a RM API where I could pass a tracking number to check the status of something I had posted. As I have read there is no such thing, so I was wondering would it be safe to post ...
2
votes
1answer
28 views
POSTing variables to API (idibu) with AJAX
I'm relatively new to AJAX and API calls and I'm working on a POST API call to a company called idibu that handles job postings. It requires POST variables (not GET variables) so I'm using a AJAX with ...
0
votes
0answers
47 views
Several Soundcloud custom players in Firefox 22 for Mac
I have a following problem on Firefox 22 on a Mac on this site:
http://www.psynebula.com (I am also seeing the same problem on Custom player example sites such as ...
0
votes
1answer
75 views
Input value in ajax call does not work
I am working on a small trial and error project which allows you to simply search photos on Instagram. I found this example and it works flawlessly. Unfortunately, you can only use one static tag in ...
2
votes
1answer
50 views
LinkedIn example code gives SyntaxError
Trying to follow a linkedin example but their code does not seem to work
When I copy the example code into a HTML page it gets rendered as this
Profile App Example
'); ...
0
votes
0answers
25 views
Trouble getting click event to work properly in Google Maps API V3 (sending coordinates to form)
I am trying to set up a google map on a reptile and amphibian sighting submission form that will allow users to locate a place on a map, click, and have the coordinates sent to the proper fields. I ...
2
votes
0answers
28 views
Backbone.js CORS strangeness
I get some strange behavior in Chromium when connecting Backbone.js to an API on a different domain. When I do:
this.collection.fetch({
headers: {
Authorization: "Bearer " + accessToken
...
0
votes
0answers
34 views
Synchronous JSON cross-domain?
I have the following:
var options = {
async: false,
url: apiEndpoint + 'api/authpayload',
type: 'GET',
dataType: 'json'
};
return ...
1
vote
1answer
49 views
jQuery $.ajax call to GitHub Oauth API return an unidentified error
First of all this is the code:
var requestAuthUri = 'https://github.com/login/oauth/access_token';
var ajaxArgs = {
type : 'POST',
url : requestAuthUri,
headers : ...
-4
votes
2answers
36 views
How to load PHP file after DOM ready? [closed]
I'm using api.php file in index.php,api file has "ip to location" script ,which causes delay .
With api.php
response time is 130ms
waiting time is 6sec
Without api.php
response time is 126ms
...
0
votes
0answers
21 views
jquery .ajax JSONP not caching
The following .ajax jsonp jquery call is not caching in Chrome (note I put in a fake api_key). I want to cache the result in the browser. Here is the API I am trying to use: ...
0
votes
0answers
9 views
Jquery plugin to handle api requests
Is there any jquery plugin which will allow us to handle any API requests?
I want an plugin which will return the response for the API request made.
0
votes
0answers
25 views
Change forecast types in weather app query
I followed this tutorial I found to create a weather app: http://tutorialzine.com/2013/05/weather-web-app-geolocation-revisited/
Here is the fiddle: http://jsfiddle.net/laurelrose18/DSYwx/
I want to ...
1
vote
1answer
23 views
how to replace this part of string - •
I'm pulling in a string from an API, which has the characters: •, which should instead be a bullet point, or at least a '-'.
I cant figure out how to replace this in my code using .replace()?
...
0
votes
1answer
27 views
Applying jQuery Resizable on a dynamically generated html data table
I need your help.
I can't seem to get the jQuery Resizable API to work on my dynamically generated Datatable once it has been generated. It seems the function calls it after it has completed but I ...
0
votes
1answer
52 views
Ajax API Request returns 400 with base64 image data
I'm trying to use the Imgur API to create a feature on my website in which when I am writing a blog post, I can drag an image into the <textarea> and it will be uploaded to Imgur and the link ...
1
vote
1answer
241 views
Need help converting to Twitter API v1.1 - JavaScript
Recently Twitter updated its API to v1.1 and my program stops working but no matter how much documentation I read, I can't seem to really understand what is needed to make my codes work.
My ...