2
我目前使用這個劇本,讓我的Instagram的追隨者數:Instagram的追隨者計數顯示標點符號
<?php $instagram="https://api.instagram.com/v1/users/31087586/?access_token=31087586.bf7a21a.5af0d01b2ff1472c8d0a077824990111" ; $instagram_follows=j son_decode(file_get_contents($instagram))->data->counts->followed_by; echo $instagram_follows; ?>
不幸的是,它顯示就像一串數字(即「12345 「),我希望它以」12,345K「的格式顯示。
幫助表示讚賞!