Authentication overview | Docs | Twitter Developer Platform
文章推薦指數: 80 %
Your App's API Keys and Bearer Token, as well as your personal Access Token and Access Token Secret can be obtained from the Twitter developer Apps section ... Authentication Overview Guides OAuth1.0a OAuth2.0 Basicauthentication FAQ APIreference TwitterAPIshandleenormousamountsofdata.Thewayweensurethisdataissecuredfordevelopersandusersalikeisthroughauthentication.Thereareafewmethodsforauthentication,eachlistedbelow. Mostdeveloperswillnotneedtodealwiththecomplexitiessurroundingauthenticationsinceclientlibrariesautomaticallyhandlethesedifficulties. Youcanfindalistofavailableclientlibrariesonour toolsandlibrariespages> Authenticationmethods OAuth1.0aUserContext OAuth1.0aallowsanauthorizedTwitterdeveloperApptoaccessprivateaccountinformationorperformaTwitteractiononbehalfofaTwitteraccount. Learnmore Basicauthentication ManyofTwitter’senterpriseAPIsrequiretheuseofHTTPBasicAuthentication. Learnmore OAuth2.0BearerToken OAuth2.0BearerTokenallowsaTwitterdeveloperapptoaccessinformationpubliclyavailableonTwitter. Learnmore OAuth2.0AuthorizationCodeFlowwithPKCE OAuth2.0UserContextallowsyoutoauthenticateonbehalfofanotheraccountwithgreatercontroloveranapplication’sscope,andauthorizationflowsacrossmultipledevices. Learnmore Pleasenote YourApp'sAPIKeysandBearerToken,aswellasyourpersonalAccessTokenandAccessTokenSecretcanbeobtainedfromthe TwitterdeveloperApps section foundinthe developerportal. Ifyouwouldliketomakerequestsonbehalfofanotheruser,youwillneedtogenerateaseparatesetofAccessTokensforthatuserusingthe3-leggedOAuthflow,andpassthatuser'stokenswithyourOAuth1.0aUserContextorOAuth2.0usercontextrequests. Additionalresources Guides Learnhowtogeneratetokensandauthenticaterequestsusingourintegrationguides. Learnmore APIreference Reviewourreferenceguidesforourauthenticationendpoints. Learnmore Protectyourself Makesureyouunderstandthebestpracticesforstoringyourkeysandtokens. Learnmore Question? VisitourFAQs. Learnmore ByusingTwitter’sservicesyouagreetoourCookiesUse.Weusecookiesforpurposesincludinganalytics,personalisation,andads. OK ThispageandcertainotherTwittersitesplaceandreadthirdpartycookiesonyourbrowserthatareusedfornon-essentialpurposesincludingtargetingofads. Throughthesecookies,Google,LinkedInandDemandbasecollectpersonaldataaboutyoufortheirownpurposes. Learnmore. Accept Decline
延伸文章資訊
- 1Twitter Ads API's Public Workspace - Postman
Twitter Ads API. Twitter Ads API ... Add auth data to. Request Headers. Heads up! These parameter...
- 2Authentication overview | Docs | Twitter Developer Platform
Your App's API Keys and Bearer Token, as well as your personal Access Token and Access Token Secr...
- 3Making Authenticated Requests | Docs - Twitter Developer
The Twitter Ads API uses signed HTTPS requests to validate an application's identity and also obt...
- 4Getting Started | Docs | Twitter Developer Platform
Learn more about our authentication best practices. Step three: Apply for access to the Ads API. ...
- 5Twitter Ads API Support | Twitter Developer Platform
The Twitter Ads API connects developers to Twitter's advertising platform. Build solutions to mee...