Forum in maintenance, we will back soon 🙂
Display as a Post from WordPress API-GET Method
Hi Hasan & All, I have acess to API-End piont, I want to add it in wordpress Plugin and when I click it will display data as a Post in WordPress. I go thorugh Hassans WordPressCustom API Endpoints video but need more info . Thanks in Advance.
Hi @naren
Please I want more details. you developed the wordpress plugin?
I didn't understand exactly what you want to do.
@admin, Sorry, I want to develop an API that will automatically create a WordPress post when I click it, so I won’t need to add the post manually. I have rights to there website so I can u use there data legally(API). Thank you
@naren, do you want to create a plugin that automatically adds posts to a website? I created an endpoint that does this, but I don't understand how turning it into a plugin might be helpful. So, can you explain more what you're looking for, an example might be helpful.
@naren what type of post? you mean a blog post? did you write it somewhere? or is it AI generated?
please give a full example
@naren so you have API access to a job website, and you want to post the jobs on your website?
ok, and you want to automate this process? please give full details of what you are looking for
@naren, can you please explain the whole process in detail and say that you want it to be automated so we can help you? I do not really understand your inquiry.
What should the API exactly do, and how will automating this process help?
@husein LIKE this https://plugins.miniorange.com/custom-api-for-wordpress, please can you check this one.Thank you
@naren Friend, to help you, we must understand what you want.
Please write a full detailed description of what you are looking for. Exactly.
if you want to call an external API and post on your WordPress site. You can do this with several approaches, such as a simple Python script.
or using no code automation tools like Make or even an uncanny WordPress plugin.
@admin Hi Hasan Thank you very much,Sorry for troubling you..I want to call an external API and post on my WordPress site. Please i want to implement this one, I attached the code , please can you provide correct code to implement this one. Thank you
@naren Are you running the code you attached as is without any input? I fixed the code a bit, but it still needs some improvement before it works. So, please let us know where you're getting the error so we can help improve the code further.
@naren thanks, I see an example API in the code, I want to know what API you are using to implement correctly, or at least implement your self, and tell me what is the problem.