Receive data via WordPress REST API Endpoint from API Callback URL or Webhooks

Поділитися
Вставка
  • Опубліковано 5 вер 2024

КОМЕНТАРІ • 64

  • @johngiftakis9878
    @johngiftakis9878 3 роки тому

    How we could make a Webhook so for example when a Plugin is installed to send a REST API call to a 3rd party backend?

    • @TechiePress
      @TechiePress  3 роки тому +1

      You could use a hook to check when a new plugin is installed then push a message to a particular website url.

    • @johngiftakis9878
      @johngiftakis9878 3 роки тому

      @@TechiePress can it be when installed in general? Is there such a hook?

    • @TechiePress
      @TechiePress  3 роки тому +2

      Yes and No. here is an example implemented wordpress.stackexchange.com/questions/53413/deactivated-plugin-hook-get-the-name-of-the-plugin

    • @johngiftakis9878
      @johngiftakis9878 3 роки тому

      @@TechiePress thanks a lot!
      May I also ask if you have a tutorial on how to make a WP plugin with React?

    • @TechiePress
      @TechiePress  3 роки тому +1

      I have not done any like that. Sorry.

  • @GoTechUG
    @GoTechUG 4 роки тому +5

    I need to go back to basics and learn more about arrays and loops. The way you explain things makes it very simple until i try to do it myself.

  • @gurumeditationno.4251
    @gurumeditationno.4251 Рік тому +2

    Great video, exactly what I was looking for! One note: Current versions of Wordpress require an addition an additional 'permission_callback' => '__return_true' argument to the register_test_route() arguments array

    • @TechiePress
      @TechiePress  Рік тому

      Thank you for highlighting this. It is important to avoid any errors.

    • @technologysupportanddigita1128
      @technologysupportanddigita1128 4 місяці тому

      The missing piece, thank you for leaving your comment, I added that, and it finally works for me

  • @bernardkamau1686
    @bernardkamau1686 3 місяці тому

    Very helpful...I need to use the callback to receive JSON after user accepts and pays via the STK push

  • @bensosfrequents
    @bensosfrequents 28 днів тому

    If you use POST in methods you cannot access that directly on the URL, if you want to test on the browser URL then you must add GET in methods.

  • @ronaldlussier1857
    @ronaldlussier1857 Рік тому +3

    Fantastic video!!!! EXACTLY WHAT I WAS LOOKING FOR THANK YOU SO MUCH!!!!

  • @TheArtOfStreetPhotography
    @TheArtOfStreetPhotography 2 місяці тому

    Thank you, your explanation is very clear, you are a great teacher!

  • @priyankgohil9
    @priyankgohil9 3 роки тому

    Helped me a Lot to understand Callback URL and webhooks in wordpress

    • @TechiePress
      @TechiePress  3 роки тому

      I am glad. I hope you make awesome stuff

  • @MikEfford
    @MikEfford 3 роки тому +1

    this was a great walkthrough of this process, thank you!

  • @GoTechUG
    @GoTechUG 4 роки тому +1

    Thank you for this tutorial. Its such an awesome tip.

  • @user-hm4dl9yt9o
    @user-hm4dl9yt9o 5 місяців тому

    thank you. It's so helpful!

  • @vicentec1521
    @vicentec1521 2 роки тому +1

    Super helpful tutorial. Thank you!

  • @farrawayy8632
    @farrawayy8632 4 роки тому

    This channel is what i search for long, thanks make tutorials

    • @TechiePress
      @TechiePress  4 роки тому

      Thanks for the kind words. What kind of tutorials do you like? WordPress or Woocommerce?

    • @farrawayy8632
      @farrawayy8632 4 роки тому +1

      For now Woofomarce

    • @farrawayy8632
      @farrawayy8632 4 роки тому +1

      Sorry xd, i mean Woocomarce

  • @GeorgeResourcesbtc
    @GeorgeResourcesbtc 4 роки тому +1

    Thanks for the video, its really noce to know how you can get what you want your site to do

  • @naumananwar4090
    @naumananwar4090 5 годин тому

    I cant understand how your 404 error is gone can you explain that or any one here

  • @notacoolname1960
    @notacoolname1960 2 роки тому +1

    Thank you.

  • @erickthamara5154
    @erickthamara5154 Рік тому

    How didi yu get to your site manager?I am trying to allow Wordpress to act as a call back and collect data for me from an mpesa transaction

  • @josephchiira5358
    @josephchiira5358 4 роки тому +1

    You've got good videos. Thanks for the videos

  • @alpha_omega1
    @alpha_omega1 Рік тому

    Thanks a lot. This really helped me.

  • @tingtongraas
    @tingtongraas 9 місяців тому

    This really is a brilliant walkthrough for someone learning the ropes. How do you get that nice display of the json (e.g. at 7.42). Mine just shows the large block of unformatted json seen for a flash before at 7.41 mins. Thanks (and subscribed!)

    • @tingtongraas
      @tingtongraas 9 місяців тому

      ah, json formatter chrome extension. That's a bit easier to read now

  • @theman7050
    @theman7050 2 роки тому +1

    Great!!!

  • @TORMENTUMM
    @TORMENTUMM Рік тому

    Hey I have a question, I don't know if this comes from ignorance but here we go. If I use this method and many users do POST request when they retrieve the answers Could they get mixed up? I don't know if I'm explaining properly my idea of the problem, so let me know if my doubt it's clearly exposed.

    • @TechiePress
      @TechiePress  Рік тому

      I hope I understood you well. Every request is unique so there won’t be a mix up. One request is done and completed before the next is done.

    • @TORMENTUMM
      @TORMENTUMM Рік тому

      @@TechiePress Thanks for your help man. Awesome content, saved my life.

  • @anthonymwine9367
    @anthonymwine9367 2 роки тому

    How can I consume data from firebase-firestore to a WordPress woo-commerce website

  • @michaelzinsou384
    @michaelzinsou384 3 роки тому +1

    Awesome

  • @ozimadugu6913
    @ozimadugu6913 2 роки тому

    How can we create a webhook for monnify payment

  • @nabaasagongo3293
    @nabaasagongo3293 3 роки тому +1

    nice

  • @user-uv5mr5xs6s
    @user-uv5mr5xs6s Рік тому

    Make new video on: how to add (Travel Impact Model API) with wordpress site, custom php code with Plugins

  • @tharungowda5219
    @tharungowda5219 3 роки тому

    hi have a query.
    if i pass a parameter in WordPress page URL how can I take it, query and then post the result in the same page.

    • @TechiePress
      @TechiePress  3 роки тому +1

      You can use ajax to do that kind of query on the page.

  • @usamasheraz8334
    @usamasheraz8334 2 роки тому

    Hey
    I am following the same you did but i am not getting namespace or route in json response as you got

    • @TechiePress
      @TechiePress  2 роки тому

      Make sure to change your permalinks in settings to post-name. It is always the second last option in Settings admin > permalinks

    • @ronaldlussier1857
      @ronaldlussier1857 Рік тому +1

      Firefox has that JSON data that's showing

  • @sakthivelseo
    @sakthivelseo 2 роки тому

    hi sir one help i bought one AEPS API its works fine , the API provider said to add webhook url in my panel , how do i get the status using php, please help

    • @TechiePress
      @TechiePress  2 роки тому +1

      I am not sure of your situation because APIs work differently or a designed in various ways. You might need someone well versed with the API or can read the documentation to help you with that.

    • @sakthivelseo
      @sakthivelseo 2 роки тому +1

      @@TechiePress i will again go through on document Thank you for reply sir

  • @MikEfford
    @MikEfford 3 роки тому

    is it normal for a POST request like this to not be authenticated? seems like it would allow anyone to post data to that url?

    • @TechiePress
      @TechiePress  3 роки тому +1

      Well, you can make your own authentication implementation. One would need to know your endpoints, the parameters needed to pass. Now WP 5.6 has application passwords that allow someone who is a user to use the applications you create in WP. However, out of the box, any endpoints you create have no layer of auth. However, there are so many auth plugins you can use.

  • @anshulkanaujia3308
    @anshulkanaujia3308 3 роки тому

    Hey can you please explain about
    http_api_curl

  • @hatemmahmoud2593
    @hatemmahmoud2593 10 місяців тому

    thanks alot 🤍