Problem with posting image to VK (Vkontakte)

Hi everybody.

In my game for android I have created “share” button for publising messages and pictures (screenshot) in the social network. Click on this button opens the standard android system dialog with a choice of application where I should like to send my message.
When I try to publish it in social network VK (Vkontakte) an error message appears. Message without pictures I can publish without any problems.
Also I have no problems with another social networks (fb, google+, twitter).

I use standart functionality native.showPopup ( “social”, …

Does somebody faced with this problem?

Hi,

Are you using the official VK client? https://play.google.com/store/apps/details?id=com.vkontakte.android&hl=en

Can you send photos with text from other applications (not from Corona) to VK?

Yes, I use official client.

Mm… some of applications really can send photos to VK (but i’m not sure about all).

I partly solved this problem by now. I can successfully posted message if I use vertical image with height 1080px (width can be any) .

But i steel don’t understand cause of the problem.

Can you upload small images? Like 100x100px.
In VK there is a limit for photo size, 2560x2048 I think. However I doubt you actually upload such big photos…

No.

I can’t upload 100x100

I can’t upload 1000x1000…

I’m also cant upload 675x1070, but 675x1080 uploaded successfully…

What about 100x1080, 100x1081, 1080x100? It could be that it requires a minimal size for some reason?

I tried 7 different sizes:

100x1080 - success

100x1081 - success

1080x100 - error

100x1000 - error

100x1280 - success

100x1600 - success

1600x1600 - success

Strange… But looks like 1080 is the minimal vertical size limit for the image to be uploaded. I doubt that Corona has any control over what’s going on here, it could be that all apps (even not Corona apps) are affected. If that’s the case, better ask VK support directly.

Yes, i think so.

it’s means that necessary to remake the image in the vertical format…

It’s very strange…

Thank you!

Hi,

Are you using the official VK client? https://play.google.com/store/apps/details?id=com.vkontakte.android&hl=en

Can you send photos with text from other applications (not from Corona) to VK?

Yes, I use official client.

Mm… some of applications really can send photos to VK (but i’m not sure about all).

I partly solved this problem by now. I can successfully posted message if I use vertical image with height 1080px (width can be any) .

But i steel don’t understand cause of the problem.

Can you upload small images? Like 100x100px.
In VK there is a limit for photo size, 2560x2048 I think. However I doubt you actually upload such big photos…

No.

I can’t upload 100x100

I can’t upload 1000x1000…

I’m also cant upload 675x1070, but 675x1080 uploaded successfully…

What about 100x1080, 100x1081, 1080x100? It could be that it requires a minimal size for some reason?

I tried 7 different sizes:

100x1080 - success

100x1081 - success

1080x100 - error

100x1000 - error

100x1280 - success

100x1600 - success

1600x1600 - success

Strange… But looks like 1080 is the minimal vertical size limit for the image to be uploaded. I doubt that Corona has any control over what’s going on here, it could be that all apps (even not Corona apps) are affected. If that’s the case, better ask VK support directly.

Yes, i think so.

it’s means that necessary to remake the image in the vertical format…

It’s very strange…

Thank you!