Hi @Idan ,
I don’t think there will be too many technical hurdles (assuming a few things, see below). I do think there might be some expectations and tweaks needed to make this experience seamless :)
I’m assuming SSO is set up in both the app and inSided, otherwise it will be hard to guarantee that a user exists in both using the same email address. Furthermore I’m assuming you can do these calls on the backend of the app, to prevent leaking of credentials.
Then I think you should follow the steps below.
- Get a token with write level access: https://api2-eu-west-1.insided.com/docs/#section/Authentication/Introduction
- Find the user by email: https://api2-eu-west-1.insided.com/docs/user/#operation/findBy
2a: if the user doesn’t exist, tell the user to register on community first, or automatically register them using https://api2-eu-west-1.insided.com/docs/user/#operation/register - Post a question via the API, using the userid from step 2 as authorId: https://api2-eu-west-1.insided.com/docs/community/#operation/askQuestion
If possible, before submitting, you could pre-fetch and show similar results based on the entered title; kind of like what inSided does by default when people start a new question. https://api2-eu-west-1.insided.com/docs/search/#operation/search
And I’d make it explicit that further interaction will be done on the community, not in the app itself.
Hope this helps! Looking forward to your results
There is a widget from inSided to do this - snap in HTML to present the community as a floating bubble. I’m not too familiar with it but it has been demoed to us before. Its a much forgotten about feature and most don't know it exists.
Otherwise the manual way through API should work too.
@dandre are you referring to the embeddable widget?
Unfortunately it is designed to show existing content targeted to the context, not to allow interaction to happen.
'
@dandre are you referring to the embeddable widget?
Unfortunately it is designed to show existing content targeted to the context, not to allow interaction to happen.
Ooops - that''s probably it. I had though you could ask questions using the widget, but must have been mistaken. Thanks for the correction.
……. but that would be a sweet integration :)
'