Toggle navigation
Home
Hosting
Community
Developers
Github
Web Services (API)
Documentation
References
Report Issue
Download
Installer
Virtual Machine Image
Components
Themes
Member Area
Login
Register
Search
Tired of Facebook, Instagram & Twitter selling your data?
You reached the right place
Create your own social network website!
Newsfeed Page
Newsfeed page helps you to find what's happening on the network.
MOBILE FRIENDLY
Mobile friendly design allows your users to browse social network on their mobile devices.
USER PROFILE
PERSONAL WALL, FRIENDS LIST, PHOTO ALBUMS, PROFILE COVER, USER INFORMATION AND MUCH MORE.
Groups
Groups make it easy to communicate with friends , family or your work mates
Administration Panel
Using administration panel you can manage your website pages, components and users
Wall post add
**Brief description:** - Add a wall post for user. **Endpoint:** - `https://www.mywebsite.com/api/v1.0/wall_add ` **Method:** - POST / GET **Parameter:** |Parameter name|Required|Type|Explain| |:---- |:---|:----- |----- | |api_key_token |Yes |string |Your API key | |owner_guid |Yes |integer | `User ID` or `Group ID` in case of group | |poster_guid |Yes |integer | `User ID`, user who is posting | |post |No |string | Text | |friends |No |string | `Friends IDs` seperated by comma , for tagging in post | |location |No |string | Location | |privacy |No |integer | `3` for Friends only, `2` for public. Default : `2` Public | |type |Yes |string | `user` or `group` , if you creating post for group (in lowercase) | |ossn_photo | Optional | File | A photo for wall post, will be accessed example via `$_FILES['ossn_photo]` **Example Response ** ``` { "merchant": "Open Source Social Network", "url": "http:\/\/www.mywebsite.com\/", "time_token": 1569253135, "payload": { "post": { "data": {}, "guid": "113", "time_created": "1569253135", "owner_guid": "1", "description": "{\"post\":\"Hello How are you\"}", "title": "", "type": "user", "subtype": "wall", "poster_guid": "1", "access": "3", "time_updated": "0", "total_likes": 0, "is_liked_by_user": false }, "friends": [], "text": "Hello How are you", "location": "", "user": { "guid": "1", "first_name": "System", "last_name": "Administrator", "fullname": "System Administrator", "username": "administrator", "email": "admin@opensource-socialnetwork.org", "birthdate": "03\/02\/1988", "gender": "male", ... ... }, "image": "" }, "code": "100", "message": "Request successfully executed" } ``` **Return payload parameter description ** |Parameter name|Type|Explain| |:----- |:-----|----- | |image |string | Image file name| |post.total_likes |integer | Number of likes post have, always false for new post| |post.is_liked_by_user |boolean | Will always false for new post| **Remark** - If image is set you can view image by visting `https://www.mywebstie.com/post/photo/<post.guid>/<image>` - If the request succeed you should get the code 100 besides the payload. - If you have any question you may create start a new topic on community.
Services
View All
Message Send v2.0
Edit wall post
Delete Group
Get list of blocked users
UnBlock User
Block User
Comment edit
Comments List
Group Add
Welcome to OSSN Web Services (API) | Integrate OSSN into your application
Unread Messages
Recent Messages List
Message List
Message Send
Notifications Count
Notifications mark viewed
Notifications List
Group Request Decline
Group Request Accept
Group Edit
Group Members
Group Member Requests
Group Unjoin
Group Join
Group Details