Questions tagged [khan-academy]

This tag is for questions related to interfacing with Khan Academy, such as through the Khan Academy API. Do not use this tag for questions related to the courses that you are taking on Khan Academy.

The Khan Academy is a website dedicated to instructional videos on a wide array of topics.

All of the site's resources are available to anyone. Khan Academy's materials and resources are available to you completely free of charge.

This tag is for questions related to the Khan Academy API and other ways of interfacing with Khan Academy. This tag is not for questions related to the courses taken on Khan Academy. Use other specific tags for those.

111 questions
0
votes
1 answer

find all common divisible numbers given set of divisibles

Find other common divisible numbers given set of numbers I am essentially trying to solve what's in the video using javascript. I can get all prime factors. but I am not sure how to produce combined array of prime factors. Then find all…
MonteCristo
  • 1,471
  • 2
  • 20
  • 41
0
votes
1 answer

Khan Academy: Find minimum in subarray

I am stuck on step 2 of Find minimum in subarray, I can't find the values for 2 more Assert.equal s to find that the program is accurate. What I have is as follows: var indexOfMinimum = function(array, startIndex) { // Set initial values for…
Brandon Peart
  • 11
  • 1
  • 1
0
votes
1 answer

How can one get all khan academy topics for one subject and/or grade only

Using the khan academy API, I would like to retrieve a list of all math topics and sub-topics for a certain grade (and related video ids), similar to what you can see here - https://www.khanacademy.org/math/cc-seventh-grade-math Ideally, I would…
willcom
  • 15
  • 3
0
votes
2 answers

Simple movement in javascript

I am making a game in JavaScript, and I am wondering how I can make objects move smoothly when you press the left and right key. So far, I've gotten a circle to move left and right. If you hold the right arrow key, the circle moves to the right,…
Mingdi
  • 1
  • 1
  • 1
0
votes
2 answers

Key typed on khan academy

I need to write a code on Khan Academy that lets me change images I have coded by pressing a key. To do this, I need to use keyTyped function, but I don't know how to make it work. Also, I cannot use loops; I just need to write a function that lets…
Anthony Boyac
  • 17
  • 1
  • 6
0
votes
1 answer

oauth authorize page when using Electron - LABJS error: jQuery is not defined

I'm using the Khan Academy API in an Electron application, I noticed that the login page (/api/auth2/authorize) has the option to login with Facebook or Google but not with Khan Academy account. There's that error in the devtools Error in LABjs…
Shokry
  • 81
  • 1
  • 7
0
votes
1 answer

khan academy redirecting default URL GO lang

I want to access khan academy services, which requires authenticate such as OAuth consumer. Authentication working fine I have used following oauth library. Steps Get request token Now I have a request_token. I need to have it approved by the…
Ali
  • 346
  • 2
  • 5
  • 20
0
votes
1 answer

How Do I Start Pulling Apart This Block of JSON Data?

I'd like to make a program that makes offline copies of math questions from Khan Academy. I have a huge 21.6MB text file that contains data on all of their exercises, but I have no idea how to start analyzing it, much less start pulling the…
Xeneficus
  • 133
  • 1
  • 12
0
votes
0 answers

Khan Academy API doesn't return data

I'm using the test_client2 included in the git repo. Making requests returns , so apparently the system is working, but it doesn't print any data. What could cause this? Full Code added here. The only changes I have made from the…
Xeneficus
  • 133
  • 1
  • 12
0
votes
0 answers

How to use khan's Academy API for fetching exercises

Hi I want to use khan academy api calls to integrate its execises on particular topic in my project.So i am using the following api(https://www.khanacademy.org/api/v1/exercises/logarithms_1). I want to know how to use the result of this api to…
Shukshum
  • 53
  • 1
  • 6
0
votes
1 answer

When trying to remove an item from array errors

So when writing a game on Khan Academy When I try to remove a bullet from the array I run into the error "Object does not support method splice" I have been checking my code for hours and have not found out why it does not work. Ideas? EDIT: The…
user5957083
0
votes
1 answer

OAuth in Java - OAuth error. Consumer access denied

I am trying to getting access to Khan Academy using ScribeJava OAuth mechanism. After getting a token successfully I get an exception of 401. Which is quite definite about unauthorized access. And If I change the URL to the…
Wasif Kirmani
  • 1,277
  • 3
  • 22
  • 43
0
votes
1 answer

How do I use OAuth with Javascript to access Khan Academy API?

Note: I do not have enough reputation to post all the links, so I just removed the first letter so that the text editor would not read it as a link. To go to them please just paste it into your address bar and add an h in the front. I am trying to…
Joshua R C
  • 73
  • 1
  • 7
0
votes
1 answer

oauth_callback for Khan Academy API not woring

We are working on wiring up our application with Khan Academy and I am not able to get a proper redirect back after authorizing the request token. I always get the default callback along with the body "OK" and NEVER get redirected back to the…
DaKaZ
  • 925
  • 1
  • 7
  • 18
0
votes
1 answer

Missing value ("is_coach_recommended") in API Khan response

I found that currently the API call corresponding to "/api/v1/user/exercises" doesn't return the value "is_coach_recommended". That says if the corresponding exercise (skill) was recommended or not by the teacher; this in contrast to the example…