I'm using a Facebook APP (and JavaScript SDK) to use the login on a website, plus I should store some basic information about the user. By requirement of the teacher, this site was all built "using language C" (Mongoose).
The problem is: I can get the user data with JavaScript without any difficulty, but the database that will store this is in the C (SQLite3) application.
Would it be feasible to have the application's JavaScript part access the same database to write user data, or is there any way to get this data and use it in existing C functions?