zuramai / Auto-Post-Instagram-Photo

Tool for auto upload instagram photo with interval in seconds
6 stars 6 forks source link

project problems #1

Open webwamp opened 5 years ago

webwamp commented 5 years ago

hello, this is a very nice API to upload photo and video in Instagram, i see that and this is very good thank you, but you have some mistake in the class:

1- better to use JSON directly prefer to array and json_encode, using JSON directly have better speed and performance

2: you API have the biggest empty class for Instagram, you should add "Album" media to this API, because upload single photo and video not useful anymore, and because Instagram not support edit or add media (photo or video) to post after published, so add "Album" methode.

3: in "UploadVideo" function you define 3 parameters, video file, thumbnail photo and caption. this is amazing idea, but the problem is the thumbnail should be optional parameters, and if user not set thumbnail photo, the 0:00 seconds of video should be the thumbnail photo, for more info see "mgp25 API"; and in this API user can select custom time of video to want this be thumbnail photo

4: user agent should be multiple combination, because if you using single user agents for multiple accounts in same time by same IP, Instagram think you are spammer

5: in Instagram you can upload and publish photo & ... in two type; A: exact square to fix width and height in same size, B: choose to not be crop and publish meda in real size. you API not support this models