Authentication Guide
Since spacehey.py is a reverse-engineered library, you need to manually obtain credentials.
1. Mobile Token (for MobileClient)
This token is required for standard API interactions (Bulletins, Blog, Status, Profile Editing).
-
Open your browser and visit: https://auth.spacehey.com/login?client_id=app-android&return=spacehey://callback/
-
Log in to your SpaceHey account.
-
You will see a page saying "If you aren't redirected, please click here." Right Click the link.
-
Copy that URL.
-
Extract the value of access_key.
Example: spacehey://callback/home?access_key=XYZ_123_TOKEN
Token: XYZ_123_TOKEN
2. Web Session (for WebClient)
This is required for changing profile pictures, and editing social links.
-
Log in to SpaceHey.com on your desktop browser.
-
Open Developer Tools (F12).
-
Go to the Application (Chrome) or Storage (Firefox) tab.
-
Expand Cookies and select https://spacehey.com.
-
Find the cookie named SPACEHEY_SESSID.
-
Copy its Value.
Security Warning: Never share your Token or Session ID. They give full access to your account.