Users #en-docs-twitter-api-v1-accounts-and-users-follow-search-get-users-api-reference-get-friends-ids.html
84.7 KiB
Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en" dir="ltr" prefix="og: http://ogp.me/ns#" data-behavior="i18n" data-environment="prod" data-server-mode="publish" data-dc="a" class=" twtr-type--chirp">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GET friends/ids | Docs | Twitter Developer Platform </title>
<meta name="description"/>
<link rel="canonical" href="https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-friends-ids"/>
<meta property="og:url" content="https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-friends-ids"/>
<meta property="og:type" content="article"/>
<meta property="og:title" content="GET friends/ids"/>
<meta property="og:image" content="https://cdn.cms-twdigitalassets.com/content/dam/developer-twitter/redesign-2021-images/og-social-card/devwebsite_card_tn.jpg.twimg.768.jpg"/>
<meta name="keywords"/>
<meta name="twitter:card" content="summary_large_image"/>
<link rel="alternate" hreflang="en" href="https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-friends-ids"/>
<meta name="twitter:widgets:new-embed-design" content="on"/>
<meta name="twitter:widgets:csp" content="on"/>
<link href="https://abs.twimg.com/favicons/twitter-orange.3.ico" rel="shortcut icon" type="image/x-icon"/>
<script type="application/json" id="analytics-settings">{"google":{"accounts":[],"options":{"displayAdvertisingFeatures":false}},"scribe":{"scribeSectionWithImpression":false},"trackingPixel":{},"bing":{}}</script>
<script type="application/json" class="u14-data-layer" data-component="u14-data-layer" id="data-layer">{"page":{"pageId":"6171a16","pageKey":"6171a16-en-en","pageName":"GET friends/ids","pagePath":"/content/developer-twitter/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-friends-ids","pageType":"documentation-page","pagePublishDate":"","language":"en","geoRegion":"en","category":{"tags":{"tagIDs":[],"tagNames":[]},"scribe":{"component":"twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-friends-ids","section":"docs","page":"developer","element":"page"}},"attribute":{}}}</script>
<link rel="preload" href="https://fonts.twitter.com/chirp/chirp-bold-italic-web.woff2" as="font" type="font/woff2" crossorigin/>
<link rel="preload" href="https://fonts.twitter.com/chirp/chirp-bold-web.woff2" as="font" type="font/woff2" crossorigin/>
<link rel="preload" href="https://fonts.twitter.com/chirp/chirp-display-extended-black-web.woff2" as="font" type="font/woff2" crossorigin/>
<link rel="preload" href="https://fonts.twitter.com/chirp/chirp-regular-web.woff2" as="font" type="font/woff2" crossorigin/>
<link rel="preload" href="https://fonts.twitter.com/chirp/chirp-regular-italic-web.woff2" as="font" type="font/woff2" crossorigin/>
<link rel="preload" href="https://fonts.twitter.com/chirp/chirp-extended-bold-web.woff2" as="font" type="font/woff2" crossorigin/>
<link rel="stylesheet" href="https://cdn.cms-twdigitalassets.com/etc/designs/developer2-twitter/public/css/chirp.css.twhash.a.f.41e1f29c2d4295d68b05db0725781db3.css" media="screen" type="text/css"/>
<link rel="stylesheet" href="https://cdn.cms-twdigitalassets.com/etc/designs/developer2-twitter/public/css/legacy-colors.css.twhash.a.f.20fd26d638816cbce52d44904fc9c3c2.css" type="text/css"/>
<link rel="stylesheet" href="https://cdn.cms-twdigitalassets.com/etc/designs/developer2-twitter/public/css/project.css.twhash.a.f.9b9b7e2d9404f9e756d0962c03502a4d.css" media="screen" type="text/css"/>
<link rel="stylesheet" href="https://cdn.cms-twdigitalassets.com/etc/designs/developer2-twitter/public/css/print.css.twhash.a.f.67de1c964d9398cbf614aab841910ad6.css" media="print" type="text/css"/>
</head>
<body class="
twtr-theme--blue
page documentation-page
page--
twtr-color-bg--white-neutral
js-no-scroll
atm-light
" style="--theme-color: var(--blue-dark)" data-analytics-page="developer" data-analytics-section="docs" data-analytics-component="twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-friends-ids" data-analytics-element="page">
<div id="twtr-dtc-main" style="--nav-height: var(--navbar-tall)" data-dtc-rebrand-on="true" class="dtc-rebrand-flag-on">
<div id="twBearerToken" data-value="AAAAAAAAAAAAAAAAAAAAACHguwAAAAAAaSlT0G31NDEyg%2BSnBN5JuyKjMCU%3Dlhg0gv0nE7KKyiJNEAojQbn8Y3wJm1xidDK7VnKGBP4ByJwHPb" style="display:none"></div>
<div id="twAuthenticationFlag" data-value="guest" style="display:none"></div>
<div id="twGeoLocationRegion" data-value="eu" style="display:none"></div>
<div class="u01-meganav__page-padding"></div>
<div class="u01-meganav js-twtr-nav twtr-color-bg--white-neutral is-fixed">
<div class="twtr-container--wide">
<div class="twtr-grid">
<div class="twtr-col-12">
<div class="u01-meganav__container" data-bg-color="white-neutral" data-home-path="/content/developer-twitter/en" data-icon-close="<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewbox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" aria-hidden="true" focusable="false" role="none" class="twtr-icon--md">
<g>
<g>
<defs>
<rect id="SVGID_1_" x="-468" y="-1360" width="1440" height="3027" />
</defs>
<clippath id="SVGID_2_">
<use xlink:href="#SVGID_1_" style="overflow:visible;" />
</clippath>
</g>
</g>
<rect x="-468" y="-1360" class="st0" width="1440" height="3027" style="fill:rgb(0,0,0,0);stroke-width:3;stroke:rgb(0,0,0)" />
<path d="M13.4,12l5.8-5.8c0.4-0.4,0.4-1,0-1.4c-0.4-0.4-1-0.4-1.4,0L12,10.6L6.2,4.8c-0.4-0.4-1-0.4-1.4,0c-0.4,0.4-0.4,1,0,1.4
l5.8,5.8l-5.8,5.8c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.4,0.3,0.7,0.3s0.5-0.1,0.7-0.3l5.8-5.8l5.8,5.8c0.2,0.2,0.5,0.3,0.7,0.3
s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L13.4,12z" />
</svg>" data-icon-chevron-right="<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" aria-hidden="true" focusable="false" role="none" class="twtr-icon">
<path opacity="0" d="M0 0h24v24H0z" />
<path d="M17.207 11.293l-7.5-7.5c-.39-.39-1.023-.39-1.414 0s-.39 1.023 0 1.414L15.086 12l-6.793 6.793c-.39.39-.39 1.023 0 1.414.195.195.45.293.707.293s.512-.098.707-.293l7.5-7.5c.39-.39.39-1.023 0-1.414z" />
</svg>" data-icon-chevron-down="<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" aria-hidden="true" focusable="false" role="none" class="twtr-icon">
<path opacity="0" d="M0 0h24v24H0z" />
<path d="M20.207 7.043c-.39-.39-1.023-.39-1.414 0L12 13.836 5.207 7.043c-.39-.39-1.023-.39-1.414 0s-.39 1.023 0 1.414l7.5 7.5c.195.195.45.293.707.293s.512-.098.707-.293l7.5-7.5c.39-.39.39-1.023 0-1.414z" />
</svg>" data-icon-arrow-left="<svg width="28px" height="28px" viewbox="0 0 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="none" class="twtr-icon u01-meganav__icon-arrow-left">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">
<g transform="translate(-1216.000000, -298.000000)" stroke-width="2.25">
<g transform="translate(1200.000000, 282.000000)">
<g transform="translate(17.000000, 17.000000)">
<path d="M0.756410256,12.8589744 L25.7179487,12.8589744"></path>
<path d="M13.2371795,25.3397436 L25.7179487,12.8589744"></path>
<path d="M13.2371795,12.4807692 L25.3397436,0.378205128" transform="translate(19.288462, 6.429487) rotate(-90.000000) translate(-19.288462, -6.429487) "></path>
</g>
</g>
</g>
</g>
</svg>" data-left-nav-items="[{"isActive":false,"hasActiveChild":false,"children":[{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Twitter API","linkDisabled":false,"title":"Twitter API","path":"https://developer.twitter.com/en/products/twitter-api"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Twitter Ads API","linkDisabled":false,"title":"Twitter Ads API","path":"https://developer.twitter.com/en/products/twitter-ads-api"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Twitter for websites","linkDisabled":false,"title":"Twitter for websites","path":"https://developer.twitter.com/en/products/twitter-for-websites"}],"overviewTitle":"Products","linkDisabled":true,"title":"Products","path":"https://developer.twitter.com/en/products"},{"isActive":false,"hasActiveChild":false,"children":[{"isActive":false,"hasActiveChild":false,"children":[{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Getting Started","linkDisabled":false,"title":"Getting Started","path":"https://developer.twitter.com/en/docs/platform-overview"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Tutorials","linkDisabled":false,"title":"Tutorials","path":"https://developer.twitter.com/en/docs/tutorials"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Github","linkDisabled":false,"title":"Github","path":"https://github.com/twitterdev"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"API reference index","linkDisabled":false,"title":"API reference index","path":"https://developer.twitter.com/en/docs/api-reference-index"}],"linkDisabled":true,"title":"Resources","path":"https://developer.twitter.com/.html"},{"isActive":false,"hasActiveChild":false,"children":[{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Twitter API home","linkDisabled":false,"title":"Twitter API home","path":"https://developer.twitter.com/en/docs/twitter-api"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Twitter API getting started","linkDisabled":false,"title":"Twitter API getting started","path":"https://developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"SDKs","linkDisabled":false,"title":"SDKs","path":"https://developer.twitter.com/en/docs/twitter-api/tools-and-libraries/sdks/overview"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Tools and Libraries","linkDisabled":false,"title":"Tools and Libraries","path":"https://developer.twitter.com/en/docs/twitter-api/tools-and-libraries/v2"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"v2 migration","linkDisabled":false,"title":"v2 migration","path":"https://developer.twitter.com/en/docs/twitter-api/migrate/twitter-api-endpoint-map"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Enterprise APIs","linkDisabled":false,"title":"Enterprise APIs","path":"https://developer.twitter.com/en/docs/twitter-api/enterprise"}],"linkDisabled":true,"title":"Twitter Api","path":"https://developer.twitter.com/.html"},{"isActive":false,"hasActiveChild":false,"children":[{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Twitter Ads API home","linkDisabled":false,"title":"Twitter Ads API home","path":"https://developer.twitter.com/en/docs/twitter-ads-api"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Twitter Ads API getting started","linkDisabled":false,"title":"Twitter Ads API getting started","path":"https://developer.twitter.com/en/docs/twitter-ads-api/getting-started"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Apply for access","linkDisabled":false,"title":"Apply for access","path":"https://developer.twitter.com/en/docs/twitter-ads-api/apply.html"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Tools and libraries","linkDisabled":false,"title":"Tools and libraries","path":"https://developer.twitter.com/en/docs/twitter-ads-api/tools-and-libraries"}],"linkDisabled":true,"title":"Twitter Ads API","path":"https://developer.twitter.com/.html"},{"isActive":false,"hasActiveChild":false,"children":[{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Twitter for Websites home","linkDisabled":false,"title":"Twitter for Websites home","path":"https://developer.twitter.com/en/docs/twitter-for-websites"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Embedded Tweets","linkDisabled":false,"title":"Embedded Tweets","path":"https://developer.twitter.com/en/docs/twitter-for-websites/embedded-tweets/overview"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Embedded Timelines","linkDisabled":false,"title":"Embedded Timelines","path":"https://developer.twitter.com/en/docs/twitter-for-websites/timelines/overview"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Embedded buttons","linkDisabled":false,"title":"Embedded buttons","path":"https://developer.twitter.com/en/docs/twitter-for-websites/tweet-button/overview"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Web intents","linkDisabled":false,"title":"Web intents","path":"https://developer.twitter.com/en/docs/twitter-for-websites/web-intents/overview"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Twitter cards","linkDisabled":false,"title":"Twitter cards","path":"https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/abouts-cards"}],"linkDisabled":true,"title":"Twitter for Websites","path":"https://developer.twitter.com/.html"}],"overviewTitle":"Docs","linkDisabled":false,"menuType":"multiCategory","title":"Docs","path":"https://developer.twitter.com/en/docs"},{"isActive":false,"hasActiveChild":false,"children":[{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Build for business","linkDisabled":false,"title":"Build for business","path":"https://developer.twitter.com/en/use-cases/build-for-businesses"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Build for the public","linkDisabled":false,"title":"Build for the public","path":"https://developer.twitter.com/en/use-cases/build-for-consumers"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Do research","linkDisabled":false,"title":"Do research","path":"https://developer.twitter.com/en/use-cases/do-research"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Teach \u0026 learn","linkDisabled":false,"title":"Teach \u0026 learn","path":"https://developer.twitter.com/en/use-cases/teach-and-learn"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Build for good","linkDisabled":false,"title":"Build for good","path":"https://developer.twitter.com/en/use-cases/build-for-good"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Build for fun","linkDisabled":false,"title":"Build for fun","path":"https://developer.twitter.com/en/use-cases/build-for-fun"}],"overviewTitle":"Use Cases","linkDisabled":true,"title":"Use Cases","path":"https://developer.twitter.com/en/navigation/left-nav-items/use-cases"},{"isActive":false,"hasActiveChild":false,"children":[{"isActive":false,"hasActiveChild":false,"children":[{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Changelog","linkDisabled":false,"title":"Changelog","path":"https://developer.twitter.com/en/updates/changelog"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Blog","linkDisabled":false,"title":"Blog","path":"https://developer.twitter.com/en/blog"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Newsletter","linkDisabled":false,"title":"Newsletter","path":"https://developer.twitter.com/en/updates/stay-informed"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"YouTube","linkDisabled":false,"title":"YouTube","path":"https://www.youtube.com/c/twitterdev"}],"linkDisabled":true,"title":"Stay informed","path":"https://developer.twitter.com/.html"},{"isActive":false,"hasActiveChild":false,"children":[{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Forums","linkDisabled":false,"title":"Forums","path":"https://twittercommunity.com/"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Events","linkDisabled":false,"title":"Events","path":"https://twitterdev.bevylabs.com/"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Insiders","linkDisabled":false,"title":"Insiders","path":"https://developer.twitter.com/en/community/insiders"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Community leaders","linkDisabled":false,"title":"Community leaders","path":"https://developer.twitter.com/en/community/leaders"}],"linkDisabled":true,"title":"Connect","path":"https://developer.twitter.com/.html"}],"overviewTitle":"Community","linkDisabled":false,"menuType":"multiCategory","title":"Community","path":"https://developer.twitter.com/en/community"}]" data-right-nav-items="[{"isActive":false,"hasActiveChild":false,"children":[{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Policies","linkDisabled":false,"title":"Policies","path":"https://developer.twitter.com/en/developer-terms"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Developer agreement","linkDisabled":false,"title":"Developer agreement","path":"https://developer.twitter.com/en/developer-terms/agreement-and-policy/source"}],"overviewTitle":"Support","linkDisabled":false,"title":"Support","path":"https://developer.twitter.com/en/support"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Developer Portal","linkDisabled":false,"title":"Developer Portal","path":"https://developer.twitter.com/en/portal/petition/essential/basic-info"}]" data-cta-enabled="true" data-profile-enabled="true" data-cta-link-new-tab="false" data-root-page-title="Developer Platform">
</div>
<div aria-label="Search" class="u01-meganav__search-modal twtr-color-bg--blue-dark" role="dialog" aria-modal="true">
<button aria-label="Close search menu" class="u04-search__close-button js-close-search" type="button">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewbox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" aria-hidden="true" focusable="false" role="none" class="u04-search__close-svg twtr-icon">
<g>
<g>
<defs>
<rect id="SVGID_1_" x="-468" y="-1360" width="1440" height="3027" />
</defs>
<clippath id="SVGID_2_">
<use xlink:href="#SVGID_1_" style="overflow:visible;" />
</clippath>
</g>
</g>
<rect x="-468" y="-1360" class="st0" width="1440" height="3027" style="fill:rgb(0,0,0,0);stroke-width:3;stroke:rgb(0,0,0)" />
<path d="M13.4,12l5.8-5.8c0.4-0.4,0.4-1,0-1.4c-0.4-0.4-1-0.4-1.4,0L12,10.6L6.2,4.8c-0.4-0.4-1-0.4-1.4,0c-0.4,0.4-0.4,1,0,1.4
l5.8,5.8l-5.8,5.8c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.4,0.3,0.7,0.3s0.5-0.1,0.7-0.3l5.8-5.8l5.8,5.8c0.2,0.2,0.5,0.3,0.7,0.3
s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L13.4,12z" />
</svg>
</button>
<div class="search-bar search-bar--js" data-theme="blue" data-search-path="https://developer.twitter.com/en/search-results.html">
<input placeholder="Type your search here" type="search" autocomplete="off" class="search-bar__input" name="q"/>
<button id="u04-search__button" class="u04-search__button" aria-label="Search">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" aria-hidden="true" focusable="false" role="none" class="u04-search__button-icon twtr-icon--mega twtr-color-fill--white-neutral">
<path opacity="0" d="M0 0h24v24H0z" />
<path d="M22.06 19.94l-3.73-3.73C19.38 14.737 20 12.942 20 11c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9c1.943 0 3.738-.622 5.21-1.67l3.73 3.73c.292.294.676.44 1.06.44s.768-.146 1.06-.44c.586-.585.586-1.535 0-2.12zM11 17c-3.308 0-6-2.692-6-6s2.692-6 6-6 6 2.692 6 6-2.692 6-6 6z" />
</svg>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<main class="twtr-color-bg--white-neutral" id="twtr-main">
<div class="page-wrapper documentation-page twtr-color-bg--white-neutral">
<div class="u07 is-hidden" aria-hidden="true">
<div class="u07__item u07__bg-color--neutral">
<div class="u07__item-content">
<div class="u07__notification twtr-type--bold-200 chirp--bold-200 twtr-color--gray-900">
</div>
<div class="u07__close">
<button type="button" class="u07__close-btn">
<svg xmlns="http://www.w3.org/2000/svg" width="46" height="72" viewbox="0 0 46 72" aria-hidden="true" focusable="false" role="none" class="twtr-icon">
<path d="M27.243 36l14.879-14.879a2.998 2.998 0 0 0 0-4.242 2.998 2.998 0 0 0-4.242 0L23 31.758 8.122 16.879a2.998 2.998 0 0 0-4.242 0 2.998 2.998 0 0 0 0 4.242L18.758 36 3.879 50.879A2.998 2.998 0 0 0 6.001 56a2.99 2.99 0 0 0 2.121-.879L23 40.242l14.879 14.879A2.991 2.991 0 0 0 40 56a2.998 2.998 0 0 0 2.121-5.121L27.243 36z" />
</svg>
</button>
</div>
</div>
</div>
</div>
<div class="page-content twtr-container-wide left-rail-container">
<div class="sidebar-content docs-side-nav">
<div class="sidebar-content__wrapper">
<span class="docs-side-nav__close">
<svg xmlns="http://www.w3.org/2000/svg" width="46" height="72" viewBox="0 0 46 72" aria-hidden="true" focusable="false">
<path d="M27.243 36l14.879-14.879a2.998 2.998 0 0 0 0-4.242 2.998 2.998 0 0 0-4.242 0L23 31.758 8.122 16.879a2.998 2.998 0 0 0-4.242 0 2.998 2.998 0 0 0 0 4.242L18.758 36 3.879 50.879A2.998 2.998 0 0 0 6.001 56a2.99 2.99 0 0 0 2.121-.879L23 40.242l14.879 14.879A2.991 2.991 0 0 0 40 56a2.998 2.998 0 0 0 2.121-5.121L27.243 36z">
</path>
</svg>
</span>
<div class="d08-navigation-sidebar" data-sidenav-json="{"navigationTitle":"Documentation","rootPageUrl":"/content/developer-twitter/en/docs.html","navigationGroups":[{"groupName":"","navItems":[{"title":"Getting started","url":"/content/developer-twitter/en/docs/platform-overview"},{"childNavItems":[{"title":"Developer Apps","url":"/content/developer-twitter/en/docs/apps"},{"title":"Projects","url":"/content/developer-twitter/en/docs/projects"},{"title":"Developer portal","url":"/content/developer-twitter/en/docs/developer-portal"},{"title":"Authentication","url":"/content/developer-twitter/en/docs/authentication"},{"title":"Counting characters","url":"/content/developer-twitter/en/docs/counting-characters"},{"title":"Rate limits","url":"/content/developer-twitter/en/docs/rate-limits"},{"title":"Twitter IDs","url":"/content/developer-twitter/en/docs/twitter-ids"},{"title":"Security","url":"/content/developer-twitter/en/docs/security"}],"title":"Fundamentals","url":"#"},{"title":"Tools and libraries","url":"/content/developer-twitter/en/docs/tools-and-libraries"},{"title":"Tutorials","url":"/content/developer-twitter/en/docs/tutorials"},{"title":"API reference index","url":"/content/developer-twitter/en/docs/api-reference-index"}],"groupUrl":"#"},{"groupName":"Twitter API","navItems":[{"childNavItems":[{"title":"About the Twitter API","url":"/content/developer-twitter/en/docs/twitter-api/getting-started/about-twitter-api"},{"title":"Getting access","url":"/content/developer-twitter/en/docs/twitter-api/getting-started/getting-access-to-the-twitter-api"},{"title":"Make your first request","url":"/content/developer-twitter/en/docs/twitter-api/getting-started/make-your-first-request"},{"title":"Important resources","url":"/content/developer-twitter/en/docs/twitter-api/getting-started/important-resources"}],"title":"Getting started","url":"#"},{"childNavItems":[{"title":"SDKs","url":"/content/developer-twitter/en/docs/twitter-api/tools-and-libraries/sdks"}],"title":"Tools and libraries","url":"/content/developer-twitter/en/docs/twitter-api/tools-and-libraries"},{"title":"What to build","url":"/content/developer-twitter/en/docs/twitter-api/what-to-build"},{"childNavItems":[{"title":"Overview","url":"/content/developer-twitter/en/docs/twitter-api/migrate/overview"},{"title":"Data format migration","url":"/content/developer-twitter/en/docs/twitter-api/migrate/data-formats"},{"title":"Twitter API endpoint map","url":"/content/developer-twitter/en/docs/twitter-api/migrate/twitter-api-endpoint-map"}],"title":"Migrate","url":"/content/developer-twitter/en/docs/twitter-api/migrate"},{"childNavItems":[{"grandChildNavItems":[{"title":"Data dictionary","url":"/content/developer-twitter/en/docs/twitter-api/data-dictionary"},{"title":"Fields","url":"/content/developer-twitter/en/docs/twitter-api/fields"},{"title":"Expansions","url":"/content/developer-twitter/en/docs/twitter-api/expansions"},{"title":"Tweet annotations","url":"/content/developer-twitter/en/docs/twitter-api/annotations"},{"title":"Metrics","url":"/content/developer-twitter/en/docs/twitter-api/metrics"},{"title":"Conversation ID","url":"/content/developer-twitter/en/docs/twitter-api/conversation-id"},{"title":"Pagination","url":"/content/developer-twitter/en/docs/twitter-api/pagination"},{"title":"Versioning","url":"/content/developer-twitter/en/docs/twitter-api/versioning"},{"title":"Consistency","url":"/content/developer-twitter/en/docs/twitter-api/consistency"},{"title":"Rate limits","url":"/content/developer-twitter/en/docs/twitter-api/rate-limits"},{"title":"Tweet cap","url":"/content/developer-twitter/en/docs/twitter-api/tweet-caps"},{"title":"Edit Tweets","url":"/content/developer-twitter/en/docs/twitter-api/edit-tweets"}],"title":"Fundamentals","url":"#"},{"grandChildNavItems":[{"title":"Tweets lookup","url":"/content/developer-twitter/en/docs/twitter-api/tweets/lookup"},{"title":"Manage Tweets","url":"/content/developer-twitter/en/docs/twitter-api/tweets/manage-tweets"},{"title":"Timelines","url":"/content/developer-twitter/en/docs/twitter-api/tweets/timelines"},{"title":"Search Tweets","url":"/content/developer-twitter/en/docs/twitter-api/tweets/search"},{"title":"Tweet counts","url":"/content/developer-twitter/en/docs/twitter-api/tweets/counts"},{"title":"Filtered stream","url":"/content/developer-twitter/en/docs/twitter-api/tweets/filtered-stream"},{"title":"Volume streams","url":"/content/developer-twitter/en/docs/twitter-api/tweets/volume-streams"},{"title":"Retweets","url":"/content/developer-twitter/en/docs/twitter-api/tweets/retweets"},{"title":"Quote Tweets","url":"/content/developer-twitter/en/docs/twitter-api/tweets/quote-tweets"},{"title":"Likes","url":"/content/developer-twitter/en/docs/twitter-api/tweets/likes"},{"title":"Bookmarks","url":"/content/developer-twitter/en/docs/twitter-api/tweets/bookmarks"},{"title":"Hide replies","url":"/content/developer-twitter/en/docs/twitter-api/tweets/hide-replies"}],"title":"Tweets","url":"#"},{"grandChildNavItems":[{"title":"Users lookup","url":"/content/developer-twitter/en/docs/twitter-api/users/lookup"},{"title":"Follows","url":"/content/developer-twitter/en/docs/twitter-api/users/follows"},{"title":"Blocks","url":"/content/developer-twitter/en/docs/twitter-api/users/blocks"},{"title":"Mutes","url":"/content/developer-twitter/en/docs/twitter-api/users/mutes"},{"title":"Search","url":"/content/developer-twitter/en/docs/twitter-api/users/search"}],"title":"Users","url":"#"},{"grandChildNavItems":[{"title":"Tweets","url":"/content/developer-twitter/en/docs/twitter-api/usage/tweets"}],"title":"Usage","url":"#"},{"title":"Trends","url":"/content/developer-twitter/en/docs/twitter-api/trends"},{"grandChildNavItems":[{"title":"Overview","url":"/content/developer-twitter/en/docs/twitter-api/spaces/overview"},{"title":"Spaces lookup","url":"/content/developer-twitter/en/docs/twitter-api/spaces/lookup"},{"title":"Search Spaces","url":"/content/developer-twitter/en/docs/twitter-api/spaces/search"}],"title":"Spaces","url":"#"},{"grandChildNavItems":[{"title":"Direct Messages lookup","url":"/content/developer-twitter/en/docs/twitter-api/direct-messages/lookup"},{"title":"Manage Direct Messages","url":"/content/developer-twitter/en/docs/twitter-api/direct-messages/manage"}],"title":"Direct Messages","url":"#"},{"grandChildNavItems":[{"title":"Lists lookup","url":"/content/developer-twitter/en/docs/twitter-api/lists/list-lookup"},{"title":"Manage lists","url":"/content/developer-twitter/en/docs/twitter-api/lists/manage-lists"},{"title":"List Tweets lookup","url":"/content/developer-twitter/en/docs/twitter-api/lists/list-tweets"},{"title":"List members","url":"/content/developer-twitter/en/docs/twitter-api/lists/list-members"},{"title":"Pinned Lists","url":"/content/developer-twitter/en/docs/twitter-api/lists/pinned-lists"}],"title":"Lists","url":"#"},{"grandChildNavItems":[{"title":"Batch compliance","url":"/content/developer-twitter/en/docs/twitter-api/compliance/batch-compliance/"},{"title":"Compliance streams","url":"/content/developer-twitter/en/docs/twitter-api/compliance/streams/"}],"title":"Compliance","url":"#"}],"title":"Twitter API v2","url":""},{"childNavItems":[{"grandChildNavItems":[{"title":"Gnip Console","url":"/content/developer-twitter/en/docs/twitter-api/enterprise/console"},{"title":"Data dictionary","url":"/content/developer-twitter/en/docs/twitter-api/enterprise/data-dictionary"},{"title":"Data enrichments","url":"/content/developer-twitter/en/docs/twitter-api/enterprise/enrichments"},{"title":"Rules and filtering","url":"/content/developer-twitter/en/docs/twitter-api/enterprise/rules-and-filtering"},{"title":"Rate limits","url":"/content/developer-twitter/en/docs/twitter-api/enterprise/rate-limits"},{"title":"Edit Tweets","url":"/content/developer-twitter/en/docs/twitter-api/enterprise/edit-tweets"}],"title":"Fundamentals","url":"#"},{"title":"PowerTrack API","url":"/content/developer-twitter/en/docs/twitter-api/enterprise/powertrack-api"},{"title":"Decahose API","url":"/content/developer-twitter/en/docs/twitter-api/enterprise/decahose-api"},{"title":"Account Activity API","url":"/content/developer-twitter/en/docs/twitter-api/enterprise/account-activity-api"},{"title":"Search API","url":"/content/developer-twitter/en/docs/twitter-api/enterprise/search-api"},{"title":"Engagement API","url":"/content/developer-twitter/en/docs/twitter-api/enterprise/engagement-api"},{"title":"Compliance Firehose API","url":"/content/developer-twitter/en/docs/twitter-api/enterprise/compliance-firehose-api"},{"title":"Usage API","url":"/content/developer-twitter/en/docs/twitter-api/enterprise/usage-api"}],"calloutLabel":"Gnip 2.0","title":"Enterprise - Gnip 2.0","url":"/content/developer-twitter/en/docs/twitter-api/enterprise"},{"childNavItems":[{"grandChildNavItems":[{"title":"Data dictionary","url":"/content/developer-twitter/en/docs/twitter-api/v1/data-dictionary"},{"title":"Rate limits","url":"/content/developer-twitter/en/docs/twitter-api/v1/rate-limits"},{"title":"Edit Tweets","url":"/content/developer-twitter/en/docs/twitter-api/v1/edit-tweets"}],"title":"Fundamentals","url":"#"},{"grandChildNavItems":[{"title":"Search Tweets","url":"/content/developer-twitter/en/docs/twitter-api/v1/tweets/search"},{"title":"Post, retrieve, and engage with Tweets","url":"/content/developer-twitter/en/docs/twitter-api/v1/tweets/post-and-engage"},{"title":"Get Tweet timelines","url":"/content/developer-twitter/en/docs/twitter-api/v1/tweets/timelines"},{"title":"Filter realtime Tweets","url":"/content/developer-twitter/en/docs/twitter-api/v1/tweets/filter-realtime"},{"title":"Sample realtime Tweets","url":"/content/developer-twitter/en/docs/twitter-api/v1/tweets/sample-realtime"},{"title":"Curate a collection of Tweets","url":"/content/developer-twitter/en/docs/twitter-api/v1/tweets/curate-a-collection"}],"title":"Tweets","url":"#"},{"grandChildNavItems":[{"title":"Manage account settings and profile","url":"/content/developer-twitter/en/docs/twitter-api/v1/accounts-and-users/manage-account-settings"},{"title":"Mute, block, and report users","url":"/content/developer-twitter/en/docs/twitter-api/v1/accounts-and-users/mute-block-report-users"},{"title":"Follow, search, and get users","url":"/content/developer-twitter/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users"},{"title":"Create and manage lists","url":"/content/developer-twitter/en/docs/twitter-api/v1/accounts-and-users/create-manage-lists"},{"title":"User profile images and banners","url":"/content/developer-twitter/en/docs/twitter-api/v1/accounts-and-users/user-profile-images-and-banners"}],"title":"Users","url":"#"},{"grandChildNavItems":[{"title":"Direct Message features","url":"/content/developer-twitter/en/docs/twitter-api/v1/direct-messages/api-features"},{"title":"Sending and receiving events","url":"/content/developer-twitter/en/docs/twitter-api/v1/direct-messages/sending-and-receiving"},{"title":"Welcome messages","url":"/content/developer-twitter/en/docs/twitter-api/v1/direct-messages/welcome-messages"},{"title":"Message attachments","url":"/content/developer-twitter/en/docs/twitter-api/v1/direct-messages/message-attachments"},{"title":"Quick replies","url":"/content/developer-twitter/en/docs/twitter-api/v1/direct-messages/quick-replies"},{"title":"Buttons","url":"/content/developer-twitter/en/docs/twitter-api/v1/direct-messages/buttons"},{"title":"Typing indicators and read receipts","url":"/content/developer-twitter/en/docs/twitter-api/v1/direct-messages/typing-indicator-and-read-receipts"},{"title":"Conversation management","url":"/content/developer-twitter/en/docs/twitter-api/v1/direct-messages/conversation-management"},{"title":"Custom profiles","url":"/content/developer-twitter/en/docs/twitter-api/v1/direct-messages/custom-profiles"},{"title":"Customer feedback cards","url":"/content/developer-twitter/en/docs/twitter-api/v1/direct-messages/customer-feedback"}],"title":"Direct Messages","url":"#"},{"grandChildNavItems":[{"title":"Upload media","url":"/content/developer-twitter/en/docs/twitter-api/v1/media/upload-media"}],"title":"Media","url":"#"},{"grandChildNavItems":[{"title":"Get trends near a location","url":"/content/developer-twitter/en/docs/twitter-api/v1/trends/trends-for-location"},{"title":"Get locations with trending topics","url":"/content/developer-twitter/en/docs/twitter-api/v1/trends/locations-with-trending-topics"}],"title":"Trends","url":"#"},{"grandChildNavItems":[{"title":"Get information about a place","url":"/content/developer-twitter/en/docs/twitter-api/v1/geo/place-information"},{"title":"Get places near a location","url":"/content/developer-twitter/en/docs/twitter-api/v1/geo/places-near-location"}],"title":"Geo","url":"#"},{"grandChildNavItems":[{"title":"Get app rate limit status","url":"/content/developer-twitter/en/docs/twitter-api/v1/developer-utilities/rate-limit-status"},{"title":"Get Twitter supported languages","url":"/content/developer-twitter/en/docs/twitter-api/v1/developer-utilities/supported-languages"}],"title":"Developer utilities","url":"#"}],"calloutLabel":"v1.1","title":"Standard v1.1","url":"/content/developer-twitter/en/docs/twitter-api/v1"}],"groupUrl":"/content/developer-twitter/en/docs/twitter-api"},{"groupName":"Twitter Ads API","navItems":[{"childNavItems":[{"title":"Step by step guide","url":"/content/developer-twitter/en/docs/twitter-ads-api/getting-started"},{"title":"Increasing access","url":"/content/developer-twitter/en/docs/twitter-ads-api/increasing-access"},{"title":"Subscribe for updates","url":"/content/developer-twitter/en/docs/twitter-ads-api/newsletter"}],"title":"Getting started","url":""},{"childNavItems":[{"title":"Hierarchy and terminology","url":"/content/developer-twitter/en/docs/twitter-ads-api/hierarchy-terminology"},{"title":"Accessing Ads accounts","url":"/content/developer-twitter/en/docs/twitter-ads-api/obtaining-ads-account-access"},{"title":"Making authenticated requests","url":"/content/developer-twitter/en/docs/twitter-ads-api/making-authenticated-requests"},{"title":"Error codes and responses","url":"/content/developer-twitter/en/docs/twitter-ads-api/response-codes"},{"title":"Rate limiting","url":"/content/developer-twitter/en/docs/twitter-ads-api/rate-limiting"},{"title":"Pagination","url":"/content/developer-twitter/en/docs/twitter-ads-api/pagination"},{"title":"Sorting","url":"/content/developer-twitter/en/docs/twitter-ads-api/sorting"},{"title":"Versioning","url":"/content/developer-twitter/en/docs/twitter-ads-api/versioning"},{"title":"Timezones","url":"/content/developer-twitter/en/docs/twitter-ads-api/timezones"},{"title":"Currency","url":"/content/developer-twitter/en/docs/twitter-ads-api/currency"},{"title":"Sandbox","url":"/content/developer-twitter/en/docs/twitter-ads-api/ads-api-sandbox"}],"title":"Fundamentals","url":""},{"childNavItems":[],"title":"Tools and libraries","url":"/content/developer-twitter/en/docs/twitter-ads-api/tools-and-libraries"},{"childNavItems":[],"title":"Analytics","url":"/content/developer-twitter/en/docs/twitter-ads-api/analytics"},{"childNavItems":[],"title":"Audiences","url":"/content/developer-twitter/en/docs/twitter-ads-api/audiences"},{"childNavItems":[],"title":"Campaign management","url":"/content/developer-twitter/en/docs/twitter-ads-api/campaign-management"},{"childNavItems":[],"title":"Catalog management","url":"/content/developer-twitter/en/docs/twitter-ads-api/catalog-management"},{"childNavItems":[],"title":"Creatives","url":"/content/developer-twitter/en/docs/twitter-ads-api/creatives"},{"childNavItems":[{"title":"Mobile Conversions","url":"/content/developer-twitter/en/docs/twitter-ads-api/measurement/mobile-conversions/overview"},{"title":"Web Conversions","url":"/content/developer-twitter/en/docs/twitter-ads-api/measurement/web-conversions/overview"},{"title":"AB testing","url":"/content/developer-twitter/en/docs/twitter-ads-api/measurement/ab-testing/overview"}],"title":"Measurement","url":""}],"groupUrl":"/content/developer-twitter/en/docs/twitter-ads-api"},{"groupName":"Twitter for Websites","navItems":[{"childNavItems":[{"title":"Webpage properties","url":"/content/developer-twitter/en/docs/twitter-for-websites/webpage-properties"},{"title":"Javascript API","url":"/content/developer-twitter/en/docs/twitter-for-websites/javascript-api"},{"title":"Supported languages and browsers","url":"/content/developer-twitter/en/docs/twitter-for-websites/supported-languages"},{"title":"Privacy","url":"/content/developer-twitter/en/docs/twitter-for-websites/privacy"}],"title":"Fundamentals","url":""},{"childNavItems":[],"title":"Tools and libraries","url":"/content/developer-twitter/en/docs/twitter-for-websites/tools-and-libraries"},{"childNavItems":[],"title":"Embedded Tweets","url":"/content/developer-twitter/en/docs/twitter-for-websites/embedded-tweets"},{"childNavItems":[],"title":"Embedded timelines","url":"/content/developer-twitter/en/docs/twitter-for-websites/timelines"},{"childNavItems":[{"title":"Tweets","url":"/content/developer-twitter/en/docs/twitter-for-websites/tweet-button"},{"title":"Follow","url":"/content/developer-twitter/en/docs/twitter-for-websites/follow-button"},{"title":"Direct Message","url":"/content/developer-twitter/en/docs/twitter-for-websites/direct-message-button"}],"title":"Embedded buttons","url":""},{"childNavItems":[],"title":"Web intents","url":"/content/developer-twitter/en/docs/twitter-for-websites/web-intents"},{"childNavItems":[],"title":"oEmbed API","url":"/content/developer-twitter/en/docs/twitter-for-websites/oembed-api"},{"childNavItems":[],"title":"Log in with Twitter","url":"/content/developer-twitter/en/docs/twitter-for-websites/log-in-with-twitter"},{"childNavItems":[],"title":"Optimize Tweets with Twitter Cards","url":"/content/developer-twitter/en/docs/twitter-for-websites/cards"},{"childNavItems":[],"title":"Publish faster articles with AMP","url":"/content/developer-twitter/en/docs/twitter-for-websites/amp"},{"childNavItems":[],"title":"Integrate Twitter with your CMS","url":"/content/developer-twitter/en/docs/twitter-for-websites/cms"}],"groupUrl":"/content/developer-twitter/en/docs/twitter-for-websites"}]}" data-search-path="https://developer.twitter.com/en/search-results.html" data-side-nav-v2="true">
</div>
</div>
</div>
<div class="main-content twtr-col-lg-6">
<div class="main-content__wrapper">
<div class="dtc-docs__header main-content__header">
<span id="dtc-docs__header-title" class="dtc-docs__header-title chirp--bold-700 twtr-color--gray-900">GET friends/ids</span>
</div>
<div class="c01-rich-text-editor">
<div class="is-table-default">
<html>
<head>
<title>get-friends-ids</title>
<style>code {
white-space: pre-wrap;
}
span.smallcaps {
font-variant: small-caps;
}
div.columns {
}
div.column {
}
div.hanging-indent {
margin-left: 1.5em;
text-indent: -1.5em;
}
*.display.math {
display: block;
text-align: center;
}
</style>
</head>
<body>
<h1 id="get-friendsids">GET friends/ids</h1>
<div class="toctree" data-caption="GET friends/ids" data-glob="" data-maxdepth="1">
</div>
<p>Returns a cursored collection of user IDs for every user the
specified user is following (otherwise known as their "friends").</p>
<p>At this time, results are ordered with the most recent following
first — however, this ordering is subject to unannounced change and
eventual consistency issues. Results are given in groups of 5,000 user
IDs and multiple "pages" of results can be navigated through using the
<code>next_cursor</code> value in subsequent requests. See <a href="/en/docs/basics/cursoring">Using cursors to navigate
collections</a> for more information.</p>
<p>This method is especially powerful when used in conjunction with <a href="/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-lookup">GET
users / lookup</a>, a method that allows you to convert user IDs into
full <a href="/en/docs/tweets/data-dictionary/overview/user-object">user
objects</a> in bulk.</p>
<h2 id="resource-url">Resource URL<a class="headerlink" href="#resource-url" title="Permalink to this headline">¶</a></h2>
<p><code>https://api.twitter.com/1.1/friends/ids.json</code></p>
<h2 id="resource-information">Resource Information<a class="headerlink" href="#resource-information" title="Permalink to this headline">¶</a></h2>
<table>
<tbody>
<tr class="odd">
<td>Response formats</td>
<td>JSON</td>
</tr>
<tr class="even">
<td>Requires authentication?</td>
<td>Yes</td>
</tr>
<tr class="odd">
<td>Rate limited?</td>
<td>Yes</td>
</tr>
<tr class="even">
<td>Requests / 15-min window (user auth)</td>
<td>15</td>
</tr>
<tr class="odd">
<td>Requests / 15-min window (app auth)</td>
<td>15</td>
</tr>
</tbody>
</table>
<h2 id="parameters">Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
<table>
<thead>
<tr class="header">
<th>Name</th>
<th>Required</th>
<th>Description</th>
<th>Default Value</th>
<th>Example</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>user_id</td>
<td>optional</td>
<td>The ID of the user for whom to return results.</td>
<td></td>
<td><code>12345</code></td>
</tr>
<tr class="even">
<td>screen_name</td>
<td>optional</td>
<td>The screen name of the user for whom to return results.</td>
<td></td>
<td><code>noradio</code></td>
</tr>
<tr class="odd">
<td>cursor</td>
<td>semi-optional</td>
<td><p>Causes the list of connections to be broken into pages of no more
than 5000 IDs at a time. The number of IDs returned is not guaranteed to
be 5000 as suspended users are filtered out after connections are
queried. If no cursor is provided, a value of <code>-1</code> will be
assumed, which is the first "page."</p><p>The response from the API will
include a <code>previous_cursor</code> and <code>next_cursor</code> to
allow paging back and forth. See <a href="/en/docs/basics/cursoring">Using cursors to navigate
collections</a> for more information.</p></td>
<td><code>-1</code></td>
<td><code>12893764510938</code></td>
</tr>
<tr class="even">
<td>stringify_ids</td>
<td>optional</td>
<td>Some programming environments will not consume Twitter IDs due to
their size. Provide this option to have IDs returned as strings instead.
More about <a href="/en/docs/basics/twitter-ids">Twitter IDs</a>.</td>
<td><code>false</code></td>
<td><code>true</code></td>
</tr>
<tr class="odd">
<td>count</td>
<td>optional</td>
<td>Specifies the number of IDs attempt retrieval of, up to a maximum of
5,000 per distinct request. The value of <code>count</code> is best
thought of as a limit to the number of results to return. When using the
count parameter with this method, it is wise to use a consistent count
value across all requests to the same user's collection. Usage of this
parameter is encouraged in environments where all 5,000 IDs constitutes
too large of a response.</td>
<td></td>
<td><code>2048</code></td>
</tr>
</tbody>
</table>
<h2 id="example-request">Example Request<a class="headerlink" href="#example-request" title="Permalink to this headline">¶</a></h2>
<pre><code>$ curl --request GET
--url 'https://api.twitter.com/1.1/friends/ids.json?screen_name=twitterdev'
--header 'authorization: Bearer <bearer>'</code></pre>
<pre><code>$ curl --request GET
--url 'https://api.twitter.com/1.1/friends/ids.json?screen_name=twitterdev'
--header 'authorization: OAuth oauth_consumer_key="consumer-key-for-app",
oauth_nonce="generated-nonce", oauth_signature="generated-signature",
oauth_signature_method="HMAC-SHA1", oauth_timestamp="generated-timestamp",
oauth_version="1.0"'</code></pre>
<pre><code>$ twurl /1.1/friends/ids.json?screen_name=twitterdev</code></pre>
<h2 id="example-response">Example Response<a class="headerlink" href="#example-response" title="Permalink to this headline">¶</a></h2>
<pre><code>{
"previous_cursor": 0,
"ids": [
657693,
183709371,
7588892,
38895958,
22891211,
9019482,
14488353,
11750202,
12249,
22915745,
1249881,
14927800,
1523501,
22548447,
15062340,
133031077,
17874544,
777925,
4265731,
27674040,
26123649,
9576402,
821958,
7852612,
819797,
1401881,
8285392,
9160152,
795649,
3191321,
783214
],
"previous_cursor_str": "0",
"next_cursor": 0,
"next_cursor_str": "0"
}</code></pre>
</body></html>
</div>
</div>
<div id="twtr-article-embedded-survey" class="b32"></div>
</div>
</div>
<div class="sidebar-content docs-right-side-nav twtr-col-lg-3">
<div class="dtc05-navigation-right" data-tab-title="Follow, search, and get users" data-header-title="Follow, search, and get users" data-tab-root-page="/content/developer-twitter/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users" data-sidenav-json="[{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"Overview","linkDisabled":false,"title":"Overview","path":"https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/overview"},{"isActive":false,"hasActiveChild":true,"children":[{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"GET followers/ids","linkDisabled":false,"title":"GET followers/ids","path":"https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-followers-ids"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"GET followers/list","linkDisabled":false,"title":"GET followers/list","path":"https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-followers-list"},{"isActive":true,"hasActiveChild":false,"children":[],"overviewTitle":"GET friends/ids","linkDisabled":false,"title":"GET friends/ids","path":"https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-friends-ids"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"GET friends/list","linkDisabled":false,"title":"GET friends/list","path":"https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-friends-list"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"GET friendships/incoming","linkDisabled":false,"title":"GET friendships/incoming","path":"https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-friendships-incoming"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"GET friendships/lookup","linkDisabled":false,"title":"GET friendships/lookup","path":"https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-friendships-lookup"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"GET\nfriendships/no_retweets/ids","linkDisabled":false,"title":"GET\nfriendships/no_retweets/ids","path":"https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-friendships-no_retweets-ids"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"GET friendships/outgoing","linkDisabled":false,"title":"GET friendships/outgoing","path":"https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-friendships-outgoing"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"GET friendships/show","linkDisabled":false,"title":"GET friendships/show","path":"https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-friendships-show"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"GET users/lookup","linkDisabled":false,"title":"GET users/lookup","path":"https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-users-lookup"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"GET users/search","linkDisabled":false,"title":"GET users/search","path":"https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-users-search"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"GET users/show","linkDisabled":false,"title":"GET users/show","path":"https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-users-show"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"POST friendships/create","linkDisabled":false,"title":"POST friendships/create","path":"https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/post-friendships-create"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"POST friendships/destroy","linkDisabled":false,"title":"POST friendships/destroy","path":"https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/post-friendships-destroy"},{"isActive":false,"hasActiveChild":false,"children":[],"overviewTitle":"POST friendships/update","linkDisabled":false,"title":"POST friendships/update","path":"https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/post-friendships-update"}],"overviewTitle":"API reference","linkDisabled":false,"title":"API reference","path":"https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-followers-ids"}]" data-icon-chevron-down="<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" aria-hidden="true" focusable="false" role="none" class="twtr-icon">
<path opacity="0" d="M0 0h24v24H0z" />
<path d="M20.207 7.043c-.39-.39-1.023-.39-1.414 0L12 13.836 5.207 7.043c-.39-.39-1.023-.39-1.414 0s-.39 1.023 0 1.414l7.5 7.5c.195.195.45.293.707.293s.512-.098.707-.293l7.5-7.5c.39-.39.39-1.023 0-1.414z" />
</svg>">
</div>
</div>
</div>
</div>
</main>
<div>
<footer class="u02fs twtr-background--blue-extra-light twtr-background--gray-0">
<div class="twtr-container">
<div class="twtr-grid">
<div class="u02fs__footer-link-col twtr-col-12 twtr-col-md-4">
<a href="https://developer.x.com/en/more/developer-terms/agreement-and-policy" title="Developer policy and terms" target="_blank" class="u02fs__footer-link twtr-type--roman-50 twtr-color--gray-900">
Developer policy and terms
</a>
</div>
<div class="u02fs__footer-link-col twtr-col-12 twtr-col-md-4">
<a href="http://x.com/xdevelopers" title="Follow @XDevelopers" target="_blank" class="u02fs__footer-link twtr-type--roman-50 twtr-color--gray-900">
Follow @XDevelopers
</a>
</div>
<div class="u02fs__footer-link-col twtr-col-12 twtr-col-md-4 u02fs__subscribe-button-col">
<a class="b03__button
twtr-btn
twtr-btn--secondary
twtr-btn--size-default
twtr-btn-color--secondary-blue
u02fs__button
twtr-btn__icon--
twtr-scribe-clicks" href="/en/twitterdev-news-subscription" rel="noopener noreferrer" target="_blank" data-twtr-scribe-section="b03-button" data-twtr-scribe-element="LMF4" data-twtr-scribe-component="subscribe-to-developer-news" data-text="Subscribe to developer news">
<!--/* Button text -->
Subscribe to developer news
</a>
</div>
</div>
</div>
</footer>
</div>
<div>
<footer class="u02 twtr-color-bg--black-neutral">
<div class="twtr-container">
<div class="u02__wrapper">
<div class="u02__row u02__network-map">
<div class="twtr-grid u02__twtr-grid">
<div class="js-accordion u02__column">
<h4 class="u02__column__parent twtr-type--bold-14 twtr-color--gray-0 is-opaque">
X platform
<span class="u02__icon twtr-dtc-fill--extra-light-gray twtr-hidden--md twtr-hidden--lg twtr-hidden--xl">
<svg xmlns="http://www.w3.org/2000/svg" width="17" height="9.5" viewbox="0 0 17 9.5" aria-hidden="true" focusable="false" role="none" class="twtr-icon--sm">
<path d="M16.707.293c-.39-.39-1.023-.39-1.414 0L8.5 7.086 1.707.293c-.39-.39-1.023-.39-1.414 0s-.39 1.023 0 1.414l7.5 7.5c.195.195.45.293.707.293s.512-.098.707-.293l7.5-7.5c.39-.39.39-1.023 0-1.414z" />
</svg>
</span>
</h4>
<ul class="u02__column__list">
<li class="u02__link-item">
<a href="https://x.com/" title="X.com" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
X.com
</a>
</li>
<li class="u02__link-item">
<a href="https://status.twitterstat.us/" title="Status" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Status
</a>
</li>
<li class="u02__link-item">
<a href="https://help.twitter.com/resources/accessibility" title="Accessibility" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Accessibility
</a>
</li>
<li class="u02__link-item">
<a href="https://publish.twitter.com" title="Embed a post" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Embed a post
</a>
</li>
<li class="u02__link-item">
<a href="https://privacy.twitter.com/" title="Privacy Center" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Privacy Center
</a>
</li>
<li class="u02__link-item">
<a href="https://transparency.twitter.com/" title="Transparency Center" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Transparency Center
</a>
</li>
<li class="u02__link-item">
<a href="https://help.twitter.com/using-x/download-the-x-app" title="Download the X app" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Download the X app
</a>
</li>
</ul>
</div>
<div class="js-accordion u02__column">
<h4 class="u02__column__parent twtr-type--bold-14 twtr-color--gray-0 is-opaque">
X Corp.
<span class="u02__icon twtr-dtc-fill--extra-light-gray twtr-hidden--md twtr-hidden--lg twtr-hidden--xl">
<svg xmlns="http://www.w3.org/2000/svg" width="17" height="9.5" viewbox="0 0 17 9.5" aria-hidden="true" focusable="false" role="none" class="twtr-icon--sm">
<path d="M16.707.293c-.39-.39-1.023-.39-1.414 0L8.5 7.086 1.707.293c-.39-.39-1.023-.39-1.414 0s-.39 1.023 0 1.414l7.5 7.5c.195.195.45.293.707.293s.512-.098.707-.293l7.5-7.5c.39-.39.39-1.023 0-1.414z" />
</svg>
</span>
</h4>
<ul class="u02__column__list">
<li class="u02__link-item">
<a href="https://about.twitter.com/en/who-we-are/our-company.html" title="About the company" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
About the company
</a>
</li>
<li class="u02__link-item">
<a href="https://blog.twitter.com/" title="Company news" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Company news
</a>
</li>
<li class="u02__link-item">
<a href="https://about.twitter.com/en/who-we-are/brand-toolkit.html" title="Brand toolkit" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Brand toolkit
</a>
</li>
<li class="u02__link-item">
<a href="https://careers.twitter.com/" title="Jobs and internships" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Jobs and internships
</a>
</li>
<li class="u02__link-item">
<a href="https://investor.twitterinc.com/" title="Investors" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Investors
</a>
</li>
</ul>
</div>
<div class="js-accordion u02__column">
<h4 class="u02__column__parent twtr-type--bold-14 twtr-color--gray-0 is-opaque">
Help
<span class="u02__icon twtr-dtc-fill--extra-light-gray twtr-hidden--md twtr-hidden--lg twtr-hidden--xl">
<svg xmlns="http://www.w3.org/2000/svg" width="17" height="9.5" viewbox="0 0 17 9.5" aria-hidden="true" focusable="false" role="none" class="twtr-icon--sm">
<path d="M16.707.293c-.39-.39-1.023-.39-1.414 0L8.5 7.086 1.707.293c-.39-.39-1.023-.39-1.414 0s-.39 1.023 0 1.414l7.5 7.5c.195.195.45.293.707.293s.512-.098.707-.293l7.5-7.5c.39-.39.39-1.023 0-1.414z" />
</svg>
</span>
</h4>
<ul class="u02__column__list">
<li class="u02__link-item">
<a href="https://help.twitter.com/" title="Help Center" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Help Center
</a>
</li>
<li class="u02__link-item">
<a href="https://help.twitter.com/en/using-twitter" title="Using X" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Using X
</a>
</li>
<li class="u02__link-item">
<a href="https://create.twitter.com/" title="X for creators" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
X for creators
</a>
</li>
<li class="u02__link-item">
<a href="https://business.twitter.com/en/help.html" title="Ads Help Center" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Ads Help Center
</a>
</li>
<li class="u02__link-item">
<a href="https://help.twitter.com/en/managing-your-account" title="Managing your account" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Managing your account
</a>
</li>
<li class="u02__link-item">
<a href="https://preferencecenter.twitter.com/" title="Email Preference Center" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Email Preference Center
</a>
</li>
<li class="u02__link-item">
<a href="https://help.twitter.com/en/rules-and-policies" title="Rules and policies" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Rules and policies
</a>
</li>
<li class="u02__link-item">
<a href="https://help.twitter.com/en/forms.html" title="Contact us" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Contact us
</a>
</li>
</ul>
</div>
<div class="js-accordion u02__column">
<h4 class="u02__column__parent twtr-type--bold-14 twtr-color--gray-0 is-opaque">
Developer resources
<span class="u02__icon twtr-dtc-fill--extra-light-gray twtr-hidden--md twtr-hidden--lg twtr-hidden--xl">
<svg xmlns="http://www.w3.org/2000/svg" width="17" height="9.5" viewbox="0 0 17 9.5" aria-hidden="true" focusable="false" role="none" class="twtr-icon--sm">
<path d="M16.707.293c-.39-.39-1.023-.39-1.414 0L8.5 7.086 1.707.293c-.39-.39-1.023-.39-1.414 0s-.39 1.023 0 1.414l7.5 7.5c.195.195.45.293.707.293s.512-.098.707-.293l7.5-7.5c.39-.39.39-1.023 0-1.414z" />
</svg>
</span>
</h4>
<ul class="u02__column__list">
<li class="u02__link-item">
<a href="https://developer.twitter.com/en" title="Developer home" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Developer home
</a>
</li>
<li class="u02__link-item">
<a href="https://developer.twitter.com/en/docs" title="Documentation" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Documentation
</a>
</li>
<li class="u02__link-item">
<a href="https://twittercommunity.com/" title="Forums" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Forums
</a>
</li>
<li class="u02__link-item">
<a href="https://developer.twitter.com/en/community" title="Communities" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Communities
</a>
</li>
<li class="u02__link-item">
<a href="https://blog.twitter.com/developer/" title="Developer blog" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Developer blog
</a>
</li>
<li class="u02__link-item">
<a href="https://blog.twitter.com/engineering/en_us.html" title="Engineering blog" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Engineering blog
</a>
</li>
<li class="u02__link-item">
<a href="https://developer.twitter.com/en/more/developer-terms" title="Developer terms" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Developer terms
</a>
</li>
</ul>
</div>
<div class="js-accordion u02__column">
<h4 class="u02__column__parent twtr-type--bold-14 twtr-color--gray-0 is-opaque">
Business resources
<span class="u02__icon twtr-dtc-fill--extra-light-gray twtr-hidden--md twtr-hidden--lg twtr-hidden--xl">
<svg xmlns="http://www.w3.org/2000/svg" width="17" height="9.5" viewbox="0 0 17 9.5" aria-hidden="true" focusable="false" role="none" class="twtr-icon--sm">
<path d="M16.707.293c-.39-.39-1.023-.39-1.414 0L8.5 7.086 1.707.293c-.39-.39-1.023-.39-1.414 0s-.39 1.023 0 1.414l7.5 7.5c.195.195.45.293.707.293s.512-.098.707-.293l7.5-7.5c.39-.39.39-1.023 0-1.414z" />
</svg>
</span>
</h4>
<ul class="u02__column__list">
<li class="u02__link-item">
<a href="https://business.twitter.com/en/advertising.html" title="Advertise" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Advertise
</a>
</li>
<li class="u02__link-item">
<a href="https://business.twitter.com/" title="X for business" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
X for business
</a>
</li>
<li class="u02__link-item">
<a href="https://business.twitter.com/en/resources.html" title="Resources and guides" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Resources and guides
</a>
</li>
<li class="u02__link-item">
<a href="https://marketing.twitter.com/" title="X for marketers" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
X for marketers
</a>
</li>
<li class="u02__link-item">
<a href="https://marketing.twitter.com/en/insights" title="Marketing insights" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Marketing insights
</a>
</li>
<li class="u02__link-item">
<a href="https://marketing.twitter.com/en/success-stories" title="Brand inspiration" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Brand inspiration
</a>
</li>
<li class="u02__link-item">
<a href="https://www.xadsacademy.com/sl/5c3e29ed" title="X Ads Academy" target="_blank" class="u02__link twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
X Ads Academy
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="u02__row u02__legal twtr-spacing--pt-500">
<div class="twtr-grid u02__twtr-grid">
<div class="u02__column u02__column--bottom">
<span class="u02__column-footnote twtr-type--roman-14 twtr-color--gray-0 is-opaque">
© 2024 X Corp.
</span>
</div>
<div class="u02__column u02__column--bottom">
<a href="https://help.twitter.com/rules-and-policies/twitter-cookies" title="Cookies" target="_blank" class="u02__column-footnote twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Cookies
</a>
</div>
<div class="u02__column u02__column--bottom">
<a href="https://twitter.com/privacy" title="Privacy" target="_blank" class="u02__column-footnote twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Privacy
</a>
</div>
<div class="u02__column u02__column--bottom">
<a href="https://twitter.com/tos" title="Terms and conditions" target="_blank" class="u02__column-footnote twtr-type--roman-14 twtr-color--gray-0 is-opaque has-hover">
Terms and conditions
</a>
</div>
<div class="u02__column u02__column--bottom u08__language-selector">
</div>
</div>
</div>
</div>
</div>
</footer>
</div>
<script async src="https://platform.twitter.com/widgets.js"></script>
<div id="page-props" data-page-title="GET friends/ids" data-page-path="/content/developer-twitter/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-friends-ids">
</div>
<script type="text/javascript" src="https://cdn.cms-twdigitalassets.com/etc/designs/developer2-twitter/public/js/core.js.twhash.a.f.fed30134cac6410d0e4ae9b5a78416a3.js"></script>
<script type="text/javascript" src="https://cdn.cms-twdigitalassets.com/etc/designs/developer2-twitter/public/js/project.js.twhash.a.f.6133a61ea33990d0e3ab130309927d99.js"></script>
<script src="https://cdn.cms-twdigitalassets.com/etc/designs/developer-twitter/clientlib-twtr-profile-adapter.min.twhash.a.cl.c3b119a4cc2249caed364b89790624a4.js"></script>
<div id="u12" class="u12-data-protection-notice">
<div class="u12-data-protection-notice__item u12-data-protection-notice__item--b is-hidden">
<div class="u12b-opt-in" id="u12b" data-cname="twtr_pixel_opt_in">
<div class="u12b-opt-in__item u12-data-protection-notice__notice">
<div class="u12b-opt-in__content">
<div class="u12b-opt-in__copy">
<p class="mtc-font twtr-font">
<b>Did someone say … cookies?</b><br /><br />
X and its partners use cookies to provide you with a better, safer and
faster service and to support our business. Some cookies are necessary to use
our services, improve our services, and make sure they work properly.
<a href="https://help.twitter.com/rules-and-policies/twitter-cookies" target="_blank">Show more about your choices</a>.
</p>
</div>
<div class="u12b-opt-in__choice twtr-scribe-clicks-within">
<ul class="u12b-opt-in__choice-list">
<li class="u12b-opt-in__choice-list-item">
<button class="u12b-opt-in__button is-blue u12b-opt-in__button--accept mtc-font twtr-font js-accept twtr-scribe-clicks" data-twtr-scribe-section="u12-data-protection-notice" data-twtr-scribe-element="4EBU" data-twtr-scribe-component="data-protection-notice">
Accept all cookies
</button>
</li>
<li class="u12b-opt-in__choice-list-item">
<button class="u12b-opt-in__button is-naked u12b-opt-in__button--decline mtc-font twtr-font js-decline twtr-scribe-clicks" data-twtr-scribe-section="u12-data-protection-notice" data-twtr-scribe-element="4EBU" data-twtr-scribe-component="data-protection-notice">
Refuse non-essential cookies
</button>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<link rel="stylesheet" href="https://cdn.cms-twdigitalassets.com/etc/designs/common-twitter/clientlib-u12-data-protection-notice.min.twhash.a.cl.8d93205985d36dea4268f79e373e2b02.css" type="text/css">
<script src="https://cdn.cms-twdigitalassets.com/etc/designs/common-twitter/clientlib-promise-polyfill.min.twhash.a.cl.678c3c47bfcf62393184734a7204fcdf.js"></script>
<script src="https://cdn.cms-twdigitalassets.com/etc/designs/common-twitter/clientlib-twtr-profile-adapter.min.twhash.a.cl.2f6a2e41ae41c33aba9f8a7dcf876eb6.js"></script>
<script src="https://cdn.cms-twdigitalassets.com/etc/designs/common-twitter/clientlib-u12-data-protection-notice.min.twhash.a.cl.07841e68cd67e37f7c17e3a5c3c32e2d.js"></script>