amp-web-push-widget button.amp-subscribe { display: inline-flex; align-items: center; border-radius: 5px; border: 0; box-sizing: border-box; margin: 0; padding: 10px 15px; cursor: pointer; outline: none; font-size: 15px; font-weight: 500; background: #4A90E2; margin-top: 7px; color: white; box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.5); -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .amp-logo amp-img{width:190px} .amp-menu input{display:none;}.amp-menu li.menu-item-has-children ul{display:none;}.amp-menu li{position:relative;display:block;}.amp-menu > li a{display:block;} /* Inline styles */ img.acss139cf{background-color:#0866FF;}img.acss6ea51{background-color:#12AF0A;}img.acss43e08{background-color:#888990;}img.acss69ec8{background-color:#1A1A1A;}img.acssc8f88{background-color:#0166ff;}p.acss2f015{text-align:center;}figure.acsse407a{max-width:600px;}div.acss138d7{clear:both;}div.acssf5b84{--relposth-columns:3;--relposth-columns_m:2;--relposth-columns_t:2;}div.acssbf2f5{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2023/06/airpods-adaptive-audio-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss6bdea{color:#333333;font-family:Arial;font-size:12px;height:75px;}div.acssb359e{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2018/10/PhotoGrid_1538452214904-1600x792-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss11132{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2019/10/16-in-macbook-pro-leaked-photos-in-macos-catalina_00-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acssf2c23{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2021/06/螢幕截圖-2021-06-16-10.54.36-scaled-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;} .ai-align-left * {margin: 0 auto 0 0; text-align: left;} .ai-align-right * {margin: 0 0 0 auto; text-align: right;} .ai-center * {margin: 0 auto; text-align: center; } .icon-widgets:before {content: "\e1bd";}.icon-search:before {content: "\e8b6";}.icon-shopping-cart:after {content: "\e8cc";}
APPS

Twitter首次擴展了新的API!

據之前報導,Twitter宣布了其第二代官方API,以為第三方Twitter客戶帶來更多功能。該公司今天宣布,Twitter v2 API正在通過對話和回复控件進行首次擴展。 

[the_ad_placement id=”ad2″]

根據TechCrunch的說法,新的API即將提供新的終結點,這些終結點為創建第三方Twitter客戶端的開發人員啟用了更多Twitter功能。這些功能之一是限制誰可以回复您的推文的選項,該功能於5月引入用戶。

在Twitter上,用戶可以選擇允許所有人回复,也可以將回复僅限制為關注的人,甚至是推文中提及的人。現在,通過Tweet對像中稱為reply_settings的字段,新API也部分支持了這些對話控件。新增功能將使開發人員可以知道是否已為一條推文設置了會話回復設置,如果已設置,則誰可以回复。

[the_ad_placement id=”ad2″]

Twitter API的另一個功能是過濾來自特定用戶或提及特定帳戶的推文,以及在特定時間段內收集推文。

Twitter告訴TechCrunch,這是過去開發人員最常用的兩個端點

但是,將新端點與Twitter v2 API結合使用將受到一些限制。開發人員每個請求最多可以檢索100條推文,而「用戶推文時間軸終結點僅限於3200條最新推文,而用戶提及時間軸僅限於800條最新推文。」

而開發人員可以訪問Twitter網站,以了解有關新API的更多信息,該API當前在受限Beta版程序中可用

[the_ad_placement id=”ad2″]

Twitter將在2021年初擴展API,感興趣的開發人員已經可以請求訪問它。 有了這些改進,第三方Twitter客戶很可能將能夠再次提供與官方Twitter應用和網站相同的功能。

April

喜歡文字,渴望可以以文字影響生命。 更渴望能夠帶動讀者了解新事與新物。 讀者未必記得我, 但我相信一定會記得我的文字。 - -我係April- -