SVC questions



  • I just bought today your SVC software and first of all, congrats, it is an amazing software and quite easy to make it works (It just took me 5 mins).

    I have some questions I hope you can help me with:

    a) I couldn´t find the code (or the way) to log-in into the app through Facebook or a form filling in my details as you do it in your demo. Where can I find that code?? Since it is a feature you promote in your web i guess it is included in the package, right?

    b) If i want to set-up a direct webcam meeting instead of a random one, how should I do it??

    c) I just bought your single SVC version, but since I really like your software after trying it, I would also pay for the future updates, where or how could I pay the extra 30$ to get future updates? :)

    Thank you very much for your interest and support!

    Best regards!



  • Hello borja,

    a. the SVC software is ready to receive information from facebook (and any other platform like Joomla, WordPress or custom code) will request an example below
    b. this is already possible with the SVC core but due to some unfinished coding hasn't been released yet. You can use a list of online users and call anyone with a click, there is a built-in list in SVC (flash). The online username can be called via 3rd party script (php sample and WordPress plugin will be provided) that gathers online-user data directly from the database. Expected in early 2012.
    c. I don't know about this one, you should contact the seller



  • Here is the relevant code we use to request facebook info and pass it to SVC (it won't work with older versions of SVC or RVC since the software needs to be ready to understand these values):

    1. gather the data from facebook (and display some of it)

     $svcfb_appID,
    	'secret' => $svcfb_secret,
    	'cookie' => true,
    ));
    
    $session = $facebook->getSession();
    
    $me = null;
    $friends = null;
    
    if ($session) {
    	try {
    		//$uid = $facebook->getUser();
    		$me = $facebook->api('/me');
    		if ( $me['location'] ) {
    			$me['country'] = $me['location']['name'];
    			$me['country_id'] = $me['location']['id'];
    		} else if ( $me['hometown'] ) {
    			$me['country'] = $me['hometown']['name'];
    			$me['country_id'] = $me['hometown']['id'];
    		} else {
    			$me['country'] = "N/A";
    			$me['country_id'] = "";
    		}
    		$me['age'] = getAge($me['birthday']);
    
    	} catch (FacebookApiException $e) {
    		error_log($e);
    	}
    }
    
    function show_me($me) {
    
    	$name = $me['name'];
    	$first_name = $me['first_name'];
    	$uid = $me['id'];
    	$href = $me['link'];
    	$gender = $me['gender'];
    	$picture = "https://graph.facebook.com/" . $uid . "/picture?type=square";
    	$country = $me['country'];
    
    	echo '
    
    		[![' . $name . '](' . $picture . ')](' . $href . ')
    
    		 Logged in as
    
    			[' . $first_name . '](' . $href . ')
    
    			(' . $gender . ')
    
    			' . $country . ' 
    
    	';
    }
    ?>
    
    

    2. pass data to SVC as flash variables

    For logging users in with facebook, here is the solution we used: http://developers.facebook.com/docs/authentication/



  • Thank you very much for your support and rapid answer! It is highly appreciated!

    I have two extra quick questions about this matter:

    a) You said: "You can use a list of online users and call anyone with a click, there is a built-in list in SVC (flash)." <– where can I find this piece of code??!

    b) Thanks to your answer I understood that I can send some params to Flash with the "flashvars" variable, but how can I manage those params from the code in flash builder??

    I mean, even when I use this in my code: flashvars.userName = "Borja"; and send it to the flash app, when I run the app I appear as "Connected as UNKNOWN". How can I manage the flash code to appear as "Connected as Borja"???

    c) Do you have a sample code to create a filter with SVC, for example filters by age or city??

    Thank you very much!



  • @'Video:

    Hello borja,

    a. the SVC software is ready to receive information from facebook (and any other platform like Joomla, WordPress or custom code) will request an example below
    b. this is already possible with the SVC core but due to some unfinished coding hasn't been released yet. You can use a list of online users and call anyone with a click, there is a built-in list in SVC (flash). The online username can be called via 3rd party script (php sample and WordPress plugin will be provided) that gathers online-user data directly from the database. Expected in early 2012.
    c. I don't know about this one, you should contact the seller

    Is there a way to just have people that come on a website be able to get on the chat? I don't want to have random chats. Just specific people that are invited.



  • @'borja':

    Thank you very much for your support and rapid answer! It is highly appreciated!

    I have two extra quick questions about this matter:

    a) You said: "You can use a list of online users and call anyone with a click, there is a built-in list in SVC (flash)." <– where can I find this piece of code??!

    b) Thanks to your answer I understood that I can send some params to Flash with the "flashvars" variable, but how can I manage those params from the code in flash builder??

    I mean, even when I use this in my code: flashvars.userName = "Borja"; and send it to the flash app, when I run the app I appear as "Connected as UNKNOWN". How can I manage the flash code to appear as "Connected as Borja"???

    c) Do you have a sample code to create a filter with SVC, for example filters by age or city??

    Thank you very much!

    The "user list/phonebook call" feature wasn't released by the developer (yet). I did expect to have it in January but no update at the moment. It is there since we tested it months ago, if it is not released, it may be due to a bug or unfinished code.

    The SVC handles everything in a much better (and simple) way, compared to RVC. You don't need to edit or modify the code in FB, the only thing needs editing is the javascript that passes the data to the software. This modification makes everyone capable of modifying the software without AS knowledge. If you pass your name to SVC it will use it as "username".

    Filtering can be done (and makes more sense) outside the script, however a list of common used filters will be included in the stable 1.0 version, please don't ask me when. Here is a sample of the previous code (look for "mFilterSex"): http://code.google.com/p/video-chat/source/browse/trunk/src/JabberCam.as



  • @'SuperWebman':

    @'Video:

    Hello borja,

    a. the SVC software is ready to receive information from facebook (and any other platform like Joomla, WordPress or custom code) will request an example below
    b. this is already possible with the SVC core but due to some unfinished coding hasn't been released yet. You can use a list of online users and call anyone with a click, there is a built-in list in SVC (flash). The online username can be called via 3rd party script (php sample and WordPress plugin will be provided) that gathers online-user data directly from the database. Expected in early 2012.
    c. I don't know about this one, you should contact the seller

    Is there a way to just have people that come on a website be able to get on the chat? I don't want to have random chats. Just specific people that are invited.

    Yes, use a login with pre-defined user/pass -combination or a Joomla!/WordPress login and a plugin that passes username to SVC and make SVC accessible for "Registered only". Btw, all the above is on the timeline and samples should be out soon.



  • Hi. I just bought SVC, but it seems to be different from demo version showing on the site. I can't find "drawing on screen" feature.





  • @'RVC:

    Here is the relevant code we use to request facebook info and pass it to SVC (it won't work with older versions of SVC or RVC since the software needs to be ready to understand these values):

    1. gather the data from facebook (and display some of it)

     $svcfb_appID,
    	'secret' => $svcfb_secret,
    	'cookie' => true,
    ));
    
    $session = $facebook->getSession();
    
    $me = null;
    $friends = null;
    
    if ($session) {
    	try {
    		//$uid = $facebook->getUser();
    		$me = $facebook->api('/me');
    		if ( $me['location'] ) {
    			$me['country'] = $me['location']['name'];
    			$me['country_id'] = $me['location']['id'];
    		} else if ( $me['hometown'] ) {
    			$me['country'] = $me['hometown']['name'];
    			$me['country_id'] = $me['hometown']['id'];
    		} else {
    			$me['country'] = "N/A";
    			$me['country_id'] = "";
    		}
    		$me['age'] = getAge($me['birthday']);
    		
    	} catch (FacebookApiException $e) {
    		error_log($e);
    	}
    }
    
    function show_me($me) {
    	
    	$name = $me['name'];
    	$first_name = $me['first_name'];
    	$uid = $me['id'];
    	$href = $me['link'];
    	$gender = $me['gender'];
    	$picture = "https://graph.facebook.com/" . $uid . "/picture?type=square";
    	$country = $me['country'];
    	
    	echo '
    	
    		[![' . $name . '](' . $picture . ')](' . $href . ')
    	
    	
    		 Logged in as
    
    			[' . $first_name . '](' . $href . ')
    
    			(' . $gender . ')
    
    			' . $country . ' 
    	
    	
    	';
    }
    ?>
    
    

    2. pass data to SVC as flash variables

    For logging users in with facebook, here is the solution we used: http://developers.facebook.com/docs/authentication/

    Please can you expecify in exacly in which file and line this 2 code has to be paste?



  • This will be a little more complex than copy-paste… I would hire a coder: https://www.scriptlance.com/do/postproject



  • @'Video:

    This will be a little more complex than copy-paste… I would hire a coder: https://www.scriptlance.com/do/postproject

    Are you saying that for using a funcion that is shown in the demo of the script I have to hire a coder? This is like a scam or something?

    Please give me instrucions of how to do this exactly, if it is on the demo you have to give enought documentation for doing it!



  • Please post the link to the demo, you are talking about.



  • Here is the demo I am talking about http://demo.videosoftware.pro/svc/

    What I need is the first lightbox that ask to login using Facebook



  • The source code for facebook login is not part of the RVC/SVC software, it was developed by us (Govido/SVC) and used on the demos only to prevent unwanted content, like naked guys having fun in front of the camera.

    Anyway, it is not a big thing, here is all you need (1): https://developers.facebook.com/docs/guides/web/#login -and, here is a very short and comprehensive description on how to implement Facebook and Twitter authentication into your website (2): http://www.9lessons.info/2011/02/login-with-facebook-and-twitter.html
    Until this point you can have it done, but you will also need to request some info from Facebook, like name, age, location, … and this is described in the first link (1). Unfortunately it will not work: https://developers.facebook.com/bugs/223004254480286 (?) or else.

    It was working before and suddenly stopped on all websites, except the demo.videosoftware.pro sites, don't ask why.

    We are trying to figure out what is the reason for and the solution will be uploaded to this forum, together with the php samples. Until than, here is the error message, maybe someone has a clue:

    FB.init has already been called - this could indicate a problem
    2
    connect.facebook.net/en_US/all.js:45Unsafe JavaScript attempt to access frame with URL https://www.facebo
    ok.com/dialog/oauthaccess_token=AAACZBKdKUQRQBALGpUB5sPurx2HGrZBNLDvIATjEZB8VNZCj5syo5hTekAuKVm7VhOFZAUsK4P8CWQNc
    H2lZBATMt3JZCwJvVr1JWAlda0pXUhvWbvATkdD&api_key=209086835867924&app_id=209086835867924&client_id=20908683
    5867924&display=popup&domain=www.govido.com&locale=en_US&origin=1&redirect_uri=http%3A%2F%2Fstatic.ak.faceboo
    k.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D5%23cb%3Df30017ccf8%26origin%3Dhttp%253A%252F%252Fwww.gov
    ido.com%252Ff96b8444%26domain%3Dwww.govido.com%26relation%3Dopener%26frame%3Df2612a9bb8&response_type=
    token%2Csigned_request&scope=xmpp_login%2Cuser_location%2Cuser_hometown%2Cuser_birthday%2Cfriends_location%2
    Cfriends_hometown%2Cfriends_birthday%2Cpublish_stream&sdk=joey from frame with URL http://www.govido.com/. Doma
    ins, protocols and ports must match.
    ```*the App Domain and Site URL is set on Facebook




  • Govido: I can pay you $35 if you can install this on my site



  • It is going to be included, for free …



  • @'Video:

    It is going to be included, for free …

    Even better! when it is going to be included? and how?(I mean in a next update or you will publish the code so I can install it)



  • I don't think it is going to be included with the update since it is not part of the software, probably here.


Log in to reply
 

© 2108 H7 | Powered by NodeBB

Looks like your connection to H7 was lost, please wait while we try to reconnect.