SVC questions





  • @'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.



  • And when it going to be included?



  • Usually it takes few weeks until a new feature is tested against bugs. This one is tested on govido.com right now.



  • @'Video:

    Usually it takes few weeks until a new feature is tested against bugs. This one is tested on govido.com right now.

    Please can you post how to install what is already done and what it can be seen on http://demo.videosoftware.pro/svc/ or here http://www.govido.com/ so I can install it now (i really need this funcion fast) and then if when you test it you find any bug you just post an update of it.

    As I said I am really needing this fast and I would be very happy to have it just like it is on the demo http://demo.videosoftware.pro/svc/ I prefer having a version with posible bugs but having it now, than waiting for the tested version because I can always do an update after

    Thanks!



  • @'gabrielmazzotti':

    @'Video:

    Usually it takes few weeks until a new feature is tested against bugs. This one is tested on govido.com right now.

    Please can you post how to install what is already done and what it can be seen on http://demo.videosoftware.pro/svc/ or here http://www.govido.com/ so I can install it now (i really need this funcion fast) and then if when you test it you find any bug you just post an update of it.

    As I said I am really needing this fast and I would be very happy to have it just like it is on the demo http://demo.videosoftware.pro/svc/ I prefer having a version with posible bugs but having it now, than waiting for the tested version because I can always do an update after

    Thanks!

    Can you give me an answer on this please!



  • Hello, the login is not working perfectly. Still has some cross-browser compatibility issue with IE 0.7 (and IE 0.8). It seems like the CSS (???) but cannot test it until I have access to a Windows PC. I'll get one in the next days, fix the problem and post the login method here.



  • Hello
    Could you try and fix this? I´m very hurry to have it because I need it to lunch my site, I´m waiting for it, the reason why I decided to buy the script was this funcion. Please post it as fast as posible



  • Hello,
    I´m really needing this! It was your obligation to have it ready when I bought the script 2 month ago as you was showing it on the demo (is a scam to show in the demo functions that are not done!) but I had patience with you and waited 2 month for this, is enought please post this NOW and don´t make me loose my time any more. I don´t care if it has some css or cross browsing problems, just post it as you have it (as it is shown in the demo) so I can install it and then when you fix the problems you post an update.

    Please post it today, I can´t wait anymore, I had wait enough, please show you are a responsable company



  • Hello gabrielmazzotti, the scripts you requested are done and working; will ask someone to post theme here.


Log in to reply