Code Monkey home page Code Monkey logo

ossnservices's Introduction

OssnServices

A set of 50 API endpoints for your OSSN website, which allows you to integrate OSSN into your or 3rd party applications.

Download OssnServices component After installing and enabling this component, while still in admin panel go to configure and generate the API key.

Once installed and you have API KEY, use any of the method avaialble. https://www.opensource-socialnetwork.org/webservices/all

API CODES

Code Description
100 The requested method successfully responded to the request.
101 Invalid API method.
102 The requested method didn't returned any response.
103 The requested user is invalid.
104 The requested user is not validated.
105 Unable to login. The supplied password is incorrect or system have returned the error.
106 One or more input expected , is empty. Please make sure you send all required inputs
107 Contains the password length required
200 Error or failed. It is returned when actual condition failed if(actual): else failed error.
201 One or more component required for this request can not be found on remote server

If you have questions please post them to our community website https://www.opensource-socialnetwork.org/community

Extend the API with more features

Please see : https://github.com/opensource-socialnetwork/ExtendAPI

Examples

Please see https://www.opensource-socialnetwork.org/webservices/all

ossnservices's People

Contributors

lianglee avatar madguyyy avatar mirabledictu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ossnservices's Issues

ossn_entities table flooded by cover_time

Hi, I checked my ossn_entities table and it's full of cover_time subtypes. I guess it's because of the api setting the user authenticated for specific routes? Do we have a method to clean it? Thanks

Screen Shot 2021-08-28 at 7 16 56 PM

Group join not working

image

Please check and update me. I am getting response code 200 but api throwing an error.

CORB Blocked cross-origin for image urls

Getting this warning in console and not able to display images.

Cross-Origin Read Blocking (CORB) blocked cross-origin response https://mywebsite.com/ with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.

The sample format of image url is https://mywebsite.com/post/photo/363/0ac11cb8f1f44fdc62f5c5f16eed03fb.jpg.

I am fetching data from /wall_list_home and concatenating image id to image tag

<img src={`${https://mywebsite.com/post/photo/${post.post.guid}/${post.image}`} />

any help would be much appreciated.

Can't edit comments?

I've noticed that the API will let you add, view, and delete comments, but no edit endpoint? Am I missing something?

Adding videos

Is there any way to add videos using OssnServices?

If it is not implemented yet, or nobody is working on it, I would like to do it myself.

Private messages for a user end up in the inbox of another user.

We have installed OSSN premium 5.6 for our website and we also have the OSSNServices and the mobile app running for our domain.
We make use of the OSSNMessages component to send private messages to other users.
Now 1 user (lets call him user X)has shared a video of him using the mobile app. He is looking at the messages he got from user Y. There is 1 message that is meant for user X, so that is correct. BUT he also sees other messages that user Y has sent to users Z, A, B, C and so fort.
So it looks as if the mobile app doesn't filter out the correct messages per user.
Is this a known issue?

I haven't been able to reproduce the issue on the website itself yet, but I am not 100% sure that it doesn't happen on the website too.

Include OG meta tags in posts

Hello, is it possible to include OG meta tags (title, description, image) on the returned post lists (/wall_list_home)? Thanks.

PHP 8.0 genKey not working

I installed the latest version of ossnservice using PHP8.0, but I got this error when I try to generate the key.
md5 function seems requiring an argument
immagine
This issue is not present using PHP 7.4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.