Hi,
How can we fetch the active access tokens of a user using username and password?
shobhit
Posts
-
How to get 'Access token' using username & password [Write API]? -
Plugins are not showing in Find PluginHi,
I have updated my nodebb to latest version i.e. NodeBB-1.5.0. Now I was trying to install a plugin but nothing is listing in Find Plugins. -
API call for all posts with timestampThis will give me the complete day posts and I'm looking for something like get all the posts from 9:00 AM to 12:00 PM.
-
API call for all posts with timestampHello,
How can we fetch all the posts using timestamp.
For eg.:- get all the posts which was posted yesterday. -
Search module is not working.When I search something it throws the error. DBSearch pluging version is 1.0.1 and mongodb version is 2.6.12. Below is the error that I'm getting:
error: TypeError: Cannot read property 'qs' of undefined
at Object.plugin.refactorSearchData [as method] (/home/shobhit/nodebb/node_modules/nodebb-theme-nanoheal/lib/theme.js:84:16)
at /home/shobhit/nodebb/src/plugins/hooks.js:136:12
at /home/shobhit/nodebb/node_modules/async/lib/async.js:375:13
at iterate (/home/shobhit/nodebb/node_modules/async/lib/async.js:262:13)
at Object.async.forEachOfSeries.async.eachOfSeries (/home/shobhit/nodebb/node_modules/async/lib/async.js:281:9)
at Object.async.inject.async.foldl.async.reduce (/home/shobhit/nodebb/node_modules/async/lib/async.js:374:15)
at fireFilterHook (/home/shobhit/nodebb/src/plugins/hooks.js:128:9)
at Object.Plugins.fireHook (/home/shobhit/nodebb/src/plugins/hooks.js:109:5)
at ServerResponse.res.render (/home/shobhit/nodebb/src/middleware/render.js:30:12)
at /home/shobhit/nodebb/src/controllers/search.js:64:7
at /home/shobhit/nodebb/node_modules/async/lib/async.js:726:13
at /home/shobhit/nodebb/node_modules/async/lib/async.js:52:16
at done (/home/shobhit/nodebb/node_modules/async/lib/async.js:246:17)
at /home/shobhit/nodebb/node_modules/async/lib/async.js:44:16
at /home/shobhit/nodebb/node_modules/async/lib/async.js:723:17
at /home/shobhit/nodebb/node_modules/async/lib/async.js:167:37
at /home/shobhit/nodebb/node_modules/async/lib/async.js:52:16
at Immediate._onImmediate (/home/shobhit/nodebb/node_modules/async/lib/async.js:1206:34)
at processImmediate [as _immediateCallback] (timers.js:383:17)
TypeError: Cannot read property 'qs' of undefined
at Object.plugin.refactorSearchData [as method] (/home/shobhit/nodebb/node_modules/nodebb-theme-nanoheal/lib/theme.js:84:16)
at /home/shobhit/nodebb/src/plugins/hooks.js:136:12
at /home/shobhit/nodebb/node_modules/async/lib/async.js:375:13
at iterate (/home/shobhit/nodebb/node_modules/async/lib/async.js:262:13)
at Object.async.forEachOfSeries.async.eachOfSeries (/home/shobhit/nodebb/node_modules/async/lib/async.js:281:9)
at Object.async.inject.async.foldl.async.reduce (/home/shobhit/nodebb/node_modules/async/lib/async.js:374:15)
at fireFilterHook (/home/shobhit/nodebb/src/plugins/hooks.js:128:9)
at Object.Plugins.fireHook (/home/shobhit/nodebb/src/plugins/hooks.js:109:5)
at ServerResponse.res.render (/home/shobhit/nodebb/src/middleware/render.js:30:12)
at /home/shobhit/nodebb/src/controllers/search.js:64:7
at /home/shobhit/nodebb/node_modules/async/lib/async.js:726:13
at /home/shobhit/nodebb/node_modules/async/lib/async.js:52:16
at done (/home/shobhit/nodebb/node_modules/async/lib/async.js:246:17)
at /home/shobhit/nodebb/node_modules/async/lib/async.js:44:16
at /home/shobhit/nodebb/node_modules/async/lib/async.js:723:17
at /home/shobhit/nodebb/node_modules/async/lib/async.js:167:37
at /home/shobhit/nodebb/node_modules/async/lib/async.js:52:16
at Immediate._onImmediate (/home/shobhit/nodebb/node_modules/async/lib/async.js:1206:34)
at processImmediate [as _immediateCallback] (timers.js:383:17)
12/7 05:55 [19377] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
12/7 05:55 [19377] - info: [app] Database connection closed.
12/7 05:55 [19377] - info: [app] Web server closed to connections.
12/7 05:55 [19377] - info: [app] Shutdown complete. -
get all posts for a specific user with APIThanks.
Already got that worked. -
get all posts for a specific user with APII want to access all posts of a specific user using /api/---.