In this article lets see hot to upload instagram reels, videos using telegram bot






Video guide






bot link: apiv3_bot

bot commands

/ilogin - login with instagram account
/reilogin - login with instagram account
/iupload <direct link | cloudkp link> - upload to instagram account





Instagram limits


1. MOV or MP4 (MPEG-4 Part 14), no edit lists, moov atom at the front of the file.
2. Audio codec: AAC, 48khz sample rate maximum, 1 or 2 channels (mono or stereo).
3. Video codec: HEVC or H264, progressive scan, closed GOP, 4:2:0 chroma subsampling.
4. Frame rate: 23-60 FPS.
5. Video bitrate: VBR, 25Mbps maximum
6. Audio bitrate: 128kbps
7. Duration: 60 seconds maximum, 3 seconds minimum
8. File size: 100MB maximum
9. Api limit: 25 videos per 24 hours


Requirements

facebook,instagram account 
facebook page
facebook developer account
facebook developer app

Steps:

1. Change your instagram account to business account
2. Create facebook page,developer app and get your client id , client secret
2. Connect you instagram business account to your facebook page
4. Login with bot
5. Upload files to instagram using bot


How to Change your instagram account to business account?

Login with your instagram account
Click more in your left panel
then click settings
scroll down and click switch to professional account option



Then select business  option and follow these steps










Thats all now you successfully converted your instagram account to business account


How to Create facebook page,developer app and get your client id , client secret?


i already made a article about it check here https://www.cloudkp.com/2023/04/upload-facebook-video-using-telegram-bot.html


How to connect you instagram business account to your facebook page?

login to your facebook account got to your page > setting > linked accounts









select instagram and connenct
(note in case if you get infinity loading screen or failed to connect use your mobile phone)





After successfully connected your instagram with your facebook page you can upload videos to instagram using facebook page api 


Login with bot


first type /ilogin and enter your client id , client secret







And get your token from https://developers.facebook.com/tools/explorer/

make sure you selected page token and  added these important permissions

instagram_basic
pages_show_list
ads_management
business_management
instagram_basic
instagram_content_publish
pages_read_engagement








After bot will ask your facebook pageid , you can find it like this




Thats all now you connected your instagram account with this bot



How to upload videos to instagram using this bot


type /iupload <direct file link or cloudkp file link>










This is how you can upload instagram videos using telegram bot if you have any issues watch youtube video or ask in comment!