How to Post a Tweet Using a .NET 8 Web API 🐦

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ม.ค. 2025

ความคิดเห็น • 17

  • @KeiGGR
    @KeiGGR 9 หลายเดือนก่อน +4

    Just dropping this here in case someone is as lost as I was: To use the v2 tweets endpoint to post tweets you need an Access token and secret with Read, Write permission. If you created one without setting up User authentication first, it will only create it with the Read permission, so first you need to set up User authentication and then re generate the Access token and secret for it to have write permission and be able to create tweets with the api v2 endpoint.

  • @lakshaymalhotra
    @lakshaymalhotra 2 หลายเดือนก่อน

    Thanks Man really appreciated was looking for a solution and got the exact one...

  • @ExpensivePizza
    @ExpensivePizza ปีที่แล้ว +1

    This is great. Something I've been meaning to look into for a while now. Thanks!

    • @PatrickGod
      @PatrickGod  ปีที่แล้ว

      Awesome! Glad I could help! 😊

    • @10Totti
      @10Totti ปีที่แล้ว

      Github code please :(

  • @bengofran
    @bengofran ปีที่แล้ว +1

    Great video, any idea on how to tweet an image? I tried it many times but no luck.

  • @harvey_04
    @harvey_04 ปีที่แล้ว +1

    Thanks for the video bro

    • @PatrickGod
      @PatrickGod  ปีที่แล้ว +1

      Sure thing! 😁

  • @FrustratedCoder-s9t
    @FrustratedCoder-s9t 3 หลายเดือนก่อน

    If you need to post tweets from different users, how to sign-in?

  • @huuse2760
    @huuse2760 ปีที่แล้ว

    this is great. btw how about get tweets?

  • @TestTwitter-m3e
    @TestTwitter-m3e 5 หลายเดือนก่อน

    Can I also access this through C# Console App?

  • @bbbilgi
    @bbbilgi ปีที่แล้ว

    Failed to fetch.
    Possible Reasons:
    CORS
    Network Failure
    URL scheme must be "http" or "https" for CORS request. how can i fix this?

  • @1stkings
    @1stkings ปีที่แล้ว

    Hello Patrick God, Thank you for this video but i couldnt find my twitter (X) API Keys .please how do i do that

    • @PatrickGod
      @PatrickGod  ปีที่แล้ว

      You have to register in the Twitter Developer Portal. It's totally free. 😊

    • @1stkings
      @1stkings ปีที่แล้ว

      @@PatrickGod please Good 😊 morning from this side is there any link to register

    • @1stkings
      @1stkings ปีที่แล้ว

      thank you i have been able too sign up
      @@PatrickGod