Forum Discussion

NehaRana's avatar
12 years ago
Solved

How to post a new thread in community post from 3rd party??

How to post a new thread in community post from 3rd party??As it is required to login for posting anything.I want to post from 3rd party.I can send my Login credentials and message in parameters.kindly let me know  the way to do so.

 

 

Regards,

Neha Rana

5 Replies

  • Hi Neha and welcome to Lithosphere,

     

    Please take a look at the AuthenticationManager documentation here that explains the different available options to authenticate towards a Lithium Community depending on it's login setup: http://lithosphere.lithium.com/t5/rest-api/bd-p/developers-rest-api?branch=AuthenticationManager

     

    Be aware that to my knowledge it's not possible to both authenticate and post a message with just one call. I think you need to authenticate first and use that token then to post.

  • NehaRana's avatar
    NehaRana
    Adept
    12 years ago
    Hey Claudius!!

    Thanks for the information.

    this is for authentication stuff.how would i proceed after getting token to post my content??

    Regards,
    Neha
  • Claudius's avatar
    Claudius
    Boss
    12 years ago
    Welcome to the magical wonderland of Lithium REST API now :)
    With the authentication passed you are set to post a message to a thread: http://lithosphere.lithium.com/t5/rest-api/bd-p/developers-rest-api?leaf-id=MessageDiscussion.messages.post#MessageDiscussion.messages.post
    (Don't miss on the purple navigation headers on the documentation page to browse through and discover features of the REST API. Also the "Search all methods" box on top right works magic.)
  • NehaRana's avatar
    NehaRana
    Adept
    12 years ago
    But i want to create a new thread ,,this api is for reply
  • NehaRana's avatar
    NehaRana
    Adept
    12 years ago
    I am sending user.login and user.password but always getting the same response authentication failed