pass a variable from another site to your django site

7 views
Skip to first unread message

Danny Blaker

unread,
Jun 9, 2019, 12:13:25 AM6/9/19
to Django users
Scenario: You have built a chat bot (RASA-NLU for chat page + django for the rest of the site) that helps people with advice on gardening products. A major gardening retailer has approached you and asked if you could put a button on their product detail view pages, so that when a user clicks it, it re-directs to the chat bot page on your website and automatically passes the product text to the chat bot to begin the dialogue.
How would you approach this?

we were considering a solution using django API and AJAX, that involves adding jquery to their site and its a bit intrusive. 
we could use an iframe - then ofcourse you get the issues of iframes - responsiveness, security etc

Thanks
Reply all
Reply to author
Forward
0 new messages