views:

266

answers:

3

I've created a flex-based application and uploaded it to vkontakte. For some reason the auth-key parameter (at the flash vars) is empty, how come?

Here is a link to the application.

EDIT:

Here is my application tag inside the site:

<embed width="607" height="590" flashvars="api_id=1549899&amp;viewer_id=47745507&
amp;viewer_type=2&amp;user_id=47745507&amp;group_id=0&amp;is_app_user=1&amp;
auth_key=&amp;language=3" allowscriptaccess="never" allownetworking="internal"
allowfullscreen="true"
quality="high" name="player" id="player" style="" src="http://cs1830.vkontakte.ru  
/u47745507/13de6ae4d52c69.zip" type="application/x-shockwave-flash"/>

Here is other application tag inside the site:

<embed width="607" height="570" flashvars="api_id=1457219&amp;viewer_id=47745507&
amp;viewer_type=0&amp;user_id=0&amp;group_id=0&amp;is_app_user=1&
amp;auth_key=2a3d8454de9f7a7ada0750050e686b01&amp;language=3" allowscriptaccess="never" 
allownetworking="all" allowfullscreen="true" quality="high" name="player" id="player" 
style="" src="http://cs4232.vkontakte.ru/u1304144/c1fd79dcbe47ec.zip" 
type="application/x-shockwave-flash"/>
A: 

Ask moderator of portal. The two things that will help answer yours question are template code of site and database. So there is no better way to ask someone from technical support of the portal.

In first look I think that variable for your banner (in database) is empty.

Konrad
(-1) I'm sorry, but "ask someone to help you" is definitely not an answer.
Eran Betzalel
A: 

If the auth_key parameter is set by some javascript in the web page, there is noway we can guess why it's not being set without seeing that javascript. This issue apparently is not your problem - at least not your SWF's problem - the problem exists somewhere else. Contact the site's administrator for assistance. user_id parameter for the second (the working one) code is 0, which could be some default/moderator value. May be your user_id doesn't have those privileges - this is a 'wildest' guess.

Amarghosh
(-1) I'm sorry, but "ask someone to help you" is definitely not an answer.
Eran Betzalel
This is the only answer you will get. This is a configuration problem with vkontakte. This is definitely not a flash/flex problem. This probably doesn't even belong on stack overflow because there's no evidence it's a programming problem.
Glenn
Well... someone just did :)
Eran Betzalel
+3  A: 

When editing application settings, you must "payment on" in the "Payments" tab. Then parameter auth_key will be filled.

Myarh
Thank you so very much - this is the right answer.
Eran Betzalel