Forum Discussion

mayank's avatar
12 years ago

lithum search and post

i want to implement search and post on my site to my community site.

 

Suppose i am having a text box for search and post..please help

Search : textbox
Post : textbox
i want to implement it on my page without active cast code ,please help

 

i knw i can do it like this :

 

http://lidemo.lithium.com/restapi/vc/search/messages?q=phone

 

for search,but i want it to redirect on community site and result come dere ,please help

  • Hi Mayank,

     

    sounds like you want to integrate via the Lithium REST API. You already have an example of the search API usage to retrieve relevant messages. You can also create new posts via the API (you have an example here - which also expands on the concept and shows how to include mentions in posts created via the API). I also suggest having a look at the authentication documentation page which will be required for posting.

     

    Hope this helps,

2 Replies

  • PaoloT's avatar
    PaoloT
    Lithium Alumni (Retired)
    12 years ago

    Hi Mayank,

     

    sounds like you want to integrate via the Lithium REST API. You already have an example of the search API usage to retrieve relevant messages. You can also create new posts via the API (you have an example here - which also expands on the concept and shows how to include mentions in posts created via the API). I also suggest having a look at the authentication documentation page which will be required for posting.

     

    Hope this helps,

  • mayank's avatar
    mayank
    Ace
    12 years ago
    And what about search...
    And if the user is not login?..(in post)...we only have a message body den?..