Skip to content

FAQ

No. When a teen who already used Hackatime installs the agent, it keeps forwarding their heartbeats to Hackatime by default, so Hackatime keeps the same data while you compare. See Switch from Hackatime.

Why is total_seconds lower than on Hackatime?

Section titled “Why is total_seconds lower than on Hackatime?”

On Logbook it’s counted time: idle minutes are cut and a minute counts once, even across projects. Add raw=true for time at the keyboard, or read raw_seconds, which stats and project responses include next to it. What counts: What counts.

They haven’t installed the agent, or it hasn’t counted anything in that range. Counted time comes only from the agent. Their raw_seconds can still be above zero from editor heartbeats. See Install Logbook.

Why is a teen’s trust level blue when Hackatime shows something else?

Section titled “Why is a teen’s trust level blue when Hackatime shows something else?”

Logbook masks the level the way Hackatime does in public: yellow reads as blue. A teen who hasn’t linked Hackatime on Logbook also reads as blue, with logbook.trust_verified: false.

Not yet. Use the numeric id from authenticated/me, or the username. To match teens with your Hackatime records, use logbook.hackatime_id from authenticated/me.

Not yet. Poll GET /api/v1/submissions with your app’s token. See Receive submissions.

Can I approve submissions through the API?

Section titled “Can I approve submissions through the API?”

No. Decisions are recorded on the review page by a signed-in owner or reviewer. The API lets you read them.

No. The slug is fixed at registration, and a deleted app keeps it, so nobody can take a program’s name. Pick it carefully.

Logbook keeps only a hash, so it can’t show it again. Choose Rotate secret on the app’s page and copy the new one. The old secret stops working at once; tokens you already have keep working.

Section titled “Sign-in says “This app’s link is broken.””

Logbook doesn’t recognise the client id, or the redirect_uri your app sent isn’t exactly one of the app’s redirect URIs. Compare them character for character, including the trailing slash, and add the right one under Edit.

Check the token goes in Authorization: Bearer …, not the URL. It may have expired (access tokens last 1 year, client-credentials tokens 1 hour), or the teen may have removed your app in Settings → Apps with access. User endpoints don’t accept a client-credentials token, and the submission endpoints accept only that kind.

No. The program API sends no CORS headers. Call it from your server.

Up to 10 apps per owner, and 50 reviewers per app.