Hello,
I am making a website in which a user searches for a query and it shows results from twitter, I added a plugin to add comments on a search query using facebook login.
The problem is, If the user searches for ex. for "PHP" and he comments, then he searches for "HTML" he finds the same comments for the query "PHP", I need each query to have its own comments.
Thanks
5 replies to this topic
#1
Posted 21 April 2011 - 11:07 AM
|
|
|
#2
Posted 22 April 2011 - 04:56 PM
Please people, If there's something you don't understand, please tell me and I shall clarify
#3
Posted 23 April 2011 - 12:12 AM
I believe I get what you are saying, although I have no clue how you are supposed to implement this facebook plugin.
Does the facebook plugin that allows commenting, accept a page or identification of a page, to differentiate between comments? If the facebook plugin is commenting to the same page then it would naturally show the same comments on any query, you should look in to the documentation and see in what way you can distinguish between pages.
Does the facebook plugin that allows commenting, accept a page or identification of a page, to differentiate between comments? If the facebook plugin is commenting to the same page then it would naturally show the same comments on any query, you should look in to the documentation and see in what way you can distinguish between pages.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#4
Posted 23 April 2011 - 02:51 AM
First of all thanks for replying,
The problem isn't with the plugin code, Because when a user performs a search and the website retrieves the data from twitter, The data appears on the same page, In other words, If you perform multiple searches, the new one will replace the old one using the same page, Hence, even If facebook comments plugin had a page identification property, There are no different pages for search.
The problem isn't with the plugin code, Because when a user performs a search and the website retrieves the data from twitter, The data appears on the same page, In other words, If you perform multiple searches, the new one will replace the old one using the same page, Hence, even If facebook comments plugin had a page identification property, There are no different pages for search.
#5
Posted 23 April 2011 - 03:14 AM
That is what I mean, if the plugin works by page (so you can comment on multiple pages and it all not being combined) then you must come up with your own solution, as it will always be on the search page.
You must look to the documentation of the comment plugin, to allow you to comment on your different search queries, based on a unique identification (i.e. your search query) and not page (search.php).
I just have no documentation on hand to suggest how to do this.
You must look to the documentation of the comment plugin, to allow you to comment on your different search queries, based on a unique identification (i.e. your search query) and not page (search.php).
I just have no documentation on hand to suggest how to do this.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#6
Posted 23 April 2011 - 03:23 AM
Ok, thanks very much for your help, I will try to improvise a solution
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









