EHNA ONLINE

Currency

Prices are approximate in other currencies; you pay in Egyptian pounds unless checkout shows a locked rate.

Sign up

Developers

Build apps that act for members who allow them: read their profile and friends, read and publish posts.

How it works

  1. Create an app below and keep its secret safe; it is shown once.
  2. Send the member to this page; they choose to allow or deny:
    https://staging.ehna.online/oauth/authorize?client_id=CLIENT_ID&redirect_uri=REDIRECT_URI&response_type=code&scope=profile+friends+posts_read+posts_write&state=RANDOM
  3. Swap the one-time code (valid 10 minutes) for an access token:
    POST https://staging.ehna.online/api/oauth/token grant_type=authorization_code&client_id=…&client_secret=…&code=…&redirect_uri=…
  4. Call the API with the token in a header:
    Authorization: Bearer ACCESS_TOKEN
EndpointPermissionWhat it does
GET /api/v1/meprofileThe member's profile
GET /api/v1/me/friendsfriendsTheir friends
GET /api/v1/me/postsposts_readTheir latest posts
POST /api/v1/postsposts_writePublish a text post for them

Each app has a requests-per-minute limit set by the site team. Members can revoke access any time in Settings › Connected apps.

Download the app

EHNA ONLINE and EHNA ONLINE Messenger on your phone

Get the app

Join Ehna Online. Friends, trips, services and homes across Egypt.

Sign up Sign in