Please respond to this

Newbies ask your questions here
Hariph
Posts: 45
Joined: Tue May 23, 2023 9:33 pm

Please respond to this

Post by Hariph »

How do I create a comment system for my wapka forum
shrmaprem0202
Posts: 38
Joined: Tue Mar 07, 2023 7:13 pm
Contact:

Re: Please respond to this

Post by shrmaprem0202 »

You can use api for this
User avatar
francisco
Posts: 62
Joined: Tue Mar 07, 2023 1:48 pm
Location: Brazil
Contact:

Re: Please respond to this

Post by francisco »

(Please use more descriptive titles for your posts!)
Creating a Comment System with Wapka Data API
😴
Hariph
Posts: 45
Joined: Tue May 23, 2023 9:33 pm

Re: Please respond to this

Post by Hariph »

I tried this but it's isn't working it keeps showing error
Although I have api data for other purposes, what could be the problem
User avatar
francisco
Posts: 62
Joined: Tue Mar 07, 2023 1:48 pm
Location: Brazil
Contact:

Re: Please respond to this

Post by francisco »

Hariph wrote: Wed Feb 28, 2024 11:22 pm I tried this but it's isn't working it keeps showing error
Although I have api data for other purposes, what could be the problem
What error are you getting?
😴
Hariph
Posts: 45
Joined: Tue May 23, 2023 9:33 pm

Re: Please respond to this

Post by Hariph »

At first is wasn't even showing anything at all and then I tried to edit some part of the code and It started saying (Primary key relation error) each time a user tries to comment
User avatar
francisco
Posts: 62
Joined: Tue Mar 07, 2023 1:48 pm
Location: Brazil
Contact:

Re: Please respond to this

Post by francisco »

Hariph wrote: Sat Mar 02, 2024 7:12 am At first is wasn't even showing anything at all and then I tried to edit some part of the code and It started saying (Primary key relation error) each time a user tries to comment
This error indicates that the PID and Category are not being set correctly. Let's say you have a link that goes to the post page and contains the query string "post_id" (for example, a link on your index page that goes to example.com/post?post_id=1234). With post_id defined, <PID>{{GET(post_id)}}</PID> and <CATEGORY>Post</CATEGORY> are supposed to work correctly in the API Data Creator config.
😴
vikkas
Posts: 84
Joined: Sun May 07, 2023 9:28 am

Re: Please respond to this

Post by vikkas »

65508 This is post id
65508 This is post id
postid.png (186.68 KiB) Viewed 36943 times
Hariph
Posts: 45
Joined: Tue May 23, 2023 9:33 pm

Re: Please respond to this

Post by Hariph »

I have tried all I could but same error, I don't know what could be the problem,

You said i should you <pid>{{GET(post_id)}}</pid> ofwhich this is suppose to crawl the post id without me inputing it manually, which I did and yet it's still not working, it's still saying primary key relation error
Hariph
Posts: 45
Joined: Tue May 23, 2023 9:33 pm

Re: Please respond to this

Post by Hariph »

Image

This is a screenshot of the the setting (api data creator) so what could be the problem
Post Reply