cake-php
[Arriba] [Todas las Listas]

Re: Hi Soy nuevo aquí y necesito alguna asistencia

To: cake-php@xxxxxxxxxxxxxxxx
Subject: Re: Hi Soy nuevo aquí y necesito alguna asistencia
From: euromark <dereuromark@xxxxxxxxx>
Date: Sun, 9 Jun 2013 11:25:31 -0700 (PDT)
Delivery-date: Sun, 09 Jun 2013 14:25:45 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=x-beenthere:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=jCjA9C5czCUGU91MjCB6InExREQA7CvzQmAwVKsaoWg=; b=o5GJWkw6FdjrUO3LFzpeXOKdQESMj26E6Q9v4SbUzU/kmp/DgImjkv10DpBCyRmOvM xBsQshG84i8b/p/La8SB8Er5AcL+j2bPaaB7/ll7xmB9zEwo5GTdBouHY8qPwwX5FXw6 wnxutDOYRhiGDNPIHwOStHdRLnf7F8Ch+ReHnmJqfQZj0zPXNhWlTpvWoTucI6QQGwza XVnyCI5neyV7hLk1xCPStqYw6YPzRNBTYRCa/yZ9Kq7MKmLyMzY5Z55sUHT7b9MmCeRn ado/M+T46dOoqsEI1+2qwxHuJA1JJHStAneqPEiNsffi3lMaMHdmE+xtojelAuubDNnM 00Dw==
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-beenthere:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=jCjA9C5czCUGU91MjCB6InExREQA7CvzQmAwVKsaoWg=; b=C/YxSrPwp+9X8cEoTHEin4qeBU6H9OXz+IUrdPoIW6UtUpWogNOQnJHFxP6JLFRyVU rxgu+u+tgopn9SFLnO5PuPE9hWWw4iEO2wVtDpi+lDNLq9C2oyE+rw8zvSWzZwOvyYat vnuQU51C86QEq/joGRiQlr3n+d72pwYpB/u7Iyn6sos85ph1qaB/3iS3M0ptnVdabpP+ 2d9DiR/RdqyxPTJ+SLIYz+HwyEmzJF3995lpi2efGtPz/xEu5KABQKADZhZSK0q5950h A939Er+xdt2191kha2nzxnwpEKEBylQHru+cshN+2HtSv82ihfSpVhZ/iPDD6URxTzkq 3Ocw==
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <af7f3d25-a519-457e-9b33-24c1f1d87812@googlegroups.com>
List-archive: <http://groups.google.com/group/cake-php?hl=en>
List-help: <http://groups.google.com/support/?hl=en>, <mailto:cake-php+help@googlegroups.com>
List-id: <cake-php.googlegroups.com>
List-post: <http://groups.google.com/group/cake-php/post?hl=en>, <mailto:cake-php@googlegroups.com>
List-subscribe: <http://groups.google.com/group/cake-php/subscribe?hl=en>, <mailto:cake-php+subscribe@googlegroups.com>
List-unsubscribe: <http://groups.google.com/group/cake-php/subscribe?hl=en>, <mailto:googlegroups-manage+1003367825667+unsubscribe@googlegroups.com>
Mailing-list: list cake-php@xxxxxxxxxxxxxxxx; contact cake-php+owners@xxxxxxxxxxxxxxxx
References: <1c65e3d0-006e-48e8-9ca0-f3a754e087dd@googlegroups.com> <CACX1QZjqV2g6eCtDU0L2jGhb4-obmqZsBRCQqGCiemLyK5mt6Q@mail.gmail.com> <02cbc0c8-8560-46f7-9de0-5310e771c561@googlegroups.com> <CACX1QZh4-Kx5d8hKzr2_Aj7FmrueFFt_1sqNVDxnX4ZDkur8aw@mail.gmail.com> <af7f3d25-a519-457e-9b33-24c1f1d87812@googlegroups.com>
Reply-to: cake-php@xxxxxxxxxxxxxxxx
Sender: cake-php@xxxxxxxxxxxxxxxx
Su "/*app/Vendedor" (no "/*app/Vendedores") - anotar la forma singular.
Sólo en nivel de raíz su (*lowercase!) "Vendedores".

Y si tú *dont conseguido lo y necesitarlo justo puedes crear aquella carpeta.


Soy *Sonntag, 9. *Juni 2013 02:04:27 *UTC+2 *schrieb Jose Antonio *Amuchastegui:
>
> *Hi
>
> *Jeet, yo *dont tiene público_*html/*app/Vendedores, esto es por qué puse el *php_*sdk 
> carpeta dentro de la carpeta de vendedores, fuera del *app carpeta, porque yo *dont 
> tenerlo. 
>
> Estoy enviándote un tiro de pantalla: *http://*prntscr.*com/18*yung
> Estos son mi público_*html archivos. 
>
>
>
> *El *martes, 4 *de *junio *de 2013 04:54:27 *UTC-5, *jeet *bajaj *escribió:
>>
>> Hermano tienes que mover *php_*sdk carpeta de público-*html/vendedores/*php_*sdk/ 
>> "" a público-*html/*app/Vendedores/*php_*sdk/ "", *i 
>> pensarte ha puesto el *php_*sdk carpeta dentro de la carpeta de vendedores fuera de de 
>> *app carpeta. Prueba esto, trabajará...:-)
>>
>>
>> En *Tue, *Jun 4, 2013 en 3:00 PM, Jose Antonio *Amuchastegui <
>> cju...@xxxxxxxxx> escribió:
>>
>>> *Hi *Jeet
>>>
>>> soy *sorry estorbando otra vez. 
>>>
>>> He hecho el siguiendo: 
>>>
>>> 1.- Crear una carpeta encima: público_*html/vendedores/*php_*sdk
>>>      Esta carpeta contiene: *src carpeta (los archivos descargados de *facebook 
>>> *php *sdk)
>>>
>>>      *Screenshot: *http://*prntscr.*com/187*ag0
>>>      *Screenshot: *http://*prntscr.*com/187*ahv
>>>
>>> 2.- Hago una función en *appcontroller.*php 
>>> (Público_*html/controladores/*app_controlador.*php
>>>      
>>>     El archivo original era: 
>>>    
>>>     <?*php 
>>> Clase *AppController extiende Controlador 
>>>     #unknown{^*var $*helpers = variedad( 
>>>         '*Skitter' 
>>>     ); 
>>> } 
>>> ?>
>>>
>>> Y después de que mi función es: 
>>>
>>> <?*php 
>>> Clase *AppController extiende Controlador 
>>>     #unknown{^*var $*helpers = variedad( 
>>>         '*Skitter' 
>>>     ); 
>>> } 
>>> función pública *fbConnect()
>>>
>>>   #unknown{^*App::importación('Vendedor', '*src/*facebook');
>>>
>>>   $*config = variedad(
>>>         '*appId' => '291063454361392',
>>>         'secreto' => '#uno2*cf7*f82*bb6*e18*bece7*eef282*d9*f9*ce7',
>>>         '*fileUpload' => falso, // *opcional
>>>     );
>>>   $*facebook = nuevo *Facebook($*config); ?>
>>>         
>>>   Regreso $*facebook;
>>>
>>> }
>>> ?>
>>>
>>>
>>> Ahora, en la página quiero poner el *multi diálogo de petición del amigo puse esto: 
>>>
>>>
>>> <*html *xmlns="*http://*www.*w3.*org/1999/*xhtml&*quot;
>>>   *xmlns:*fb="*https://www.facebook.com/2008/*fbml&*quot;>
>>>   <título>
>>>     <de cabeza>*Invita un *tus *amigos</cuerpo>
>>>   </de cabeza>
>>> <del título>
>>>
>>> <*p>
>>> 	&*nbsp;</*p>
>>> <*div *id="*fb-raíz">
>>> 	&*nbsp;</*div>
>>> <guión *src="*http://conecta.*facebook.Neto/*es_ES/todo.*js&*quot;> </Guión>
>>> <*h1 margen="de estilo-dejado: 40*px;">
>>> 	*Invita un *tus *amigos *en *Facebook</*h1>
>>> <*p margen="de estilo-dejado: 40*px;">
>>> 	<clase de botón="*btn" *id="envía-a-muchos">*Invitalos</FB>
>>>
>>>     <de guión>
>>>       del botón.*init(
>>>         #unknown{^*appId  : '291063454361392',
>>>         *frictionlessRequests: cierto
>>>       });
>>>
>>> función *sendRequestViaMultiFriendSelector()
>>>   #nom.*ui(#Nom: '*apprequests',
>>>     mensaje: 'Mi Petición Grande'
>>>   }, *requestCallback);
>>> }
>>> función *requestCallback(respuesta)
>>>         // #nom *callback aquí
>>>       }
>>>     </guión>
>>>
>>>
>>> Bien, el resultado es esto: 
>>>
>>>
>>> *http://*prntscr.*com/187*ayc
>>>
>>>
>>> Pero, este botón tampoco llama el *facebook *appi: 
>>>
>>> El resultado *i estoy mirando es algo así: 
>>>
>>> *http://*prntscr.*com/187*b13
>>>
>>>
>>> Puede me guías un poco más complacer. 
>>>
>>>
>>> *El *martes, 28 *de *mayo *de 2013 23:38:36 *UTC-5, *jeet *bajaj *escribió:
>>>
>>>> *Hey Jose!
>>>>
>>>> Cuando dijiste vuestro *website es hecho arriba de en *CAKEPHP, entonces *i sugerirá a en 
>>>> cambio a colocar el archivo descargas de *github "público_*htm" 
>>>> directorio.
>>>> Pusiste aquellos archivos en "\*app\carpeta" de Vendedor. Y sacar el código 
>>>> cualquier cosa te ha escrito en índice.*php. Junto a este *i sugerirá para hacer 
>>>> una función en *AppController.*php Archivo como
>>>>
>>>>
>>>> función pública *fbConnect()
>>>>
>>>>   #unknown{^*App::importación('Vendedor', '*src/*facebook');
>>>>
>>>>   $*config = variedad(
>>>>         '*appId' => '291063454361392',
>>>>         'secreto' => '**#uno2*cf7*f82*bb6*e18*bece7*eef282*d9*f9*c***e7',
>>>>         '*fileUpload' => falso, // *opcional
>>>>     );
>>>>   $*facebook = nuevo *Facebook($*config); ?>        
>>>>   Regreso $*facebook;
>>>>
>>>>
>>>> }
>>>>
>>>>
>>>> te tengo que ayudar.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> En *Tue, mayo 28, 2013 en 4:26 AM, Jose Antonio *Amuchastegui <
>>>> cju...@xxxxxxxxx> escribió:
>>>>
>>>>> HI
>>>>>
>>>>> no soy un *developer, estoy intentando aprender *php y *cakephp y ahora estoy intentando poner un *facebook *appi, *multi diálogo de petición del amigo. 
>>>>>
>>>>> He leído docenas de *tutorials, páginas, *facebook *wiki, *facebook 
>>>>> documentación, así que estoy intentando seguir las instrucciones he reunido. 
>>>>>
>>>>> 1.- He registrado mi *facebook *appi y conseguir mi *appId y llave 
>>>>> secreta. 
>>>>> 2.- Descargado el *github archivos: 
>>>>>
>>>>> Mi sitio es basado en *cakephp, así que todo es en público_*html directorio 
>>>>> en mi *server. 
>>>>>
>>>>> 3.- Dentro de este público_*html creo un directorio nombró: *php-*sdk
>>>>> 4.- Dentro yo *uploaded (*ftp) el *src archivo descargué de *github
>>>>> 5.- Dentro creé un índice.*php Archivo: 
>>>>>
>>>>>        <?*php
>>>>>
>>>>>     Requiere_una vez("*src/*facebook.***php");
>>>>>
>>>>>     $*config = Variedad(
>>>>>         '*appId' => '291063454361392',
>>>>>         'secreto' => '**#uno2*cf7*f82*bb6*e18*bece7*eef282*d9*f9*c***e7',
>>>>>         '*fileUpload' => falso, // *opcional
>>>>>     );
>>>>>
>>>>>     $*facebook = nuevo *Facebook($*config); ?>
>>>>>
>>>>>
>>>>>
>>>>> Cuando entendí, esto me tendría que dejar utiliza *facebook *sdk, así que fui a mi software.
>>>>>
>>>>>
>>>>>
>>>>> Dentro de la página de mi software (página_de plantilla_*facebook) dónde quiero habilitar el *Multi Amigo *Selector Diálogo, escribí esto:
>>>>>
>>>>> <HTML *xmlns = "*http://*www.*w3.*org/1999/*xhtml&*quot;
>>>>>   *xmlns: *fb = ""> *INVITA Un *TODOS *TUS *AMIGOS EN *FACEBOOK
>>>>>   <título>
>>>>>     <de cabeza> *INVITA Un *TODOS *TUS *AMIGOS EN *FACEBOOK </cuerpo>
>>>>>   </de cabeza>
>>>>>
>>>>>   <del título>
>>>>>     <*div *id="*fb-raíz"> </*div>
>>>>>     <guión *src="*http://conecta.*facebook.**Neto/*es_ES/todo.*js <*http://Conecta.*facebook.Neto/*es_ES/todo.*js>"> </Guión>
>>>>>
>>>>>     <*h1>*INVITA Un *TODOS *TUS *AMIGOS EN *FACEBOOK</*h1>
>>>>>       <clase de botón="*btn" *id="envía-a-muchos">*Invitalos</**guión>
>>>>>
>>>>>     <de botón>
>>>>>  *sendRequestToRecipients función ()
>>>>> #unknown{^*var usuario_*ids = documento.*getElementsByName ("Usuario_*ids") [0] *Valor.;
>>>>> FB.*ui (#Nom: '*apprequests',
>>>>>           mensaje: '*Mi *gran *solicitud.'
>>>>>           Un: 'usuario_*ids',
>>>>>      }, *Log.*info.Liga('enviar-a-muchos *callback'));
>>>>> }      
>>>>>
>>>>> FB.*init (
>>>>>     #unknown{^*Id *de *aplicación: '291063454361392 ',
>>>>>     estado: cierto, // *comprobar *estado *de
>>>>>     *login galleta: cierto, // *habilitar galletas *para *permitir *al *servidor *acceder un *la *sesión
>>>>>     *sfbml: cierto, // *ejecutar *código *XFBML
>>>>>     canal: cierto,
>>>>>     *channelURL : '*http://www.mywebsite.com/**canal.*html <*http://Www.mywebsite.com/canal.*html>', // *fichero canal.*html
>>>>>     *oauth: Cierto,
>>>>>     *frictionlessRequests: cierto
>>>>>     *init: cierto,
>>>>>     nivel: "depura",
>>>>>     *signedRequest: *null,
>>>>>     rastro: falso,
>>>>>     versión: "*mu",
>>>>>     *viewmode: "*website",
>>>>>     *autorun: cierto
>>>>>       });
>>>>>     </cuerpo>
>>>>>   </de guión>
>>>>> </*Html>
>>>>>
>>>>> Entonces, creé el canal *diretory en público_*html y dentro es un 
>>>>> canal de archivo.*html
>>>>>
>>>>> El resultado es "error"
>>>>>
>>>>> he leído todo, pero cuando *i no soy *developer pienso hay 
>>>>> cosas múltiples estoy haciendo mal. También he leído: 
>>>>> *https://*developers.***facebook.*com/*blog/Correo/464/<*https://*developers.*facebook.*com/*blog/Correo/464/>
>>>>> :
>>>>>
>>>>>
>>>>> Tan, cualquier cuerpo complace me puede describir lo que  haré??
>>>>>
>>>>>
>>>>> *Thanks
>>>>>
>>>>>
>>>>>
>>>>>  -- 
>>>>> Gustarnos en *FaceBook *https://www.facebook.com/***CakePHP<*https://www.facebook.com/*CakePHP>
>>>>> nos Encuentra en *Twitter *http://*twitter.*com/*CakePHP
>>>>>  
>>>>> --- 
>>>>> Recibiste este mensaje porque eres *subscribed al *Google 
>>>>> Grupos "*CakePHP" grupo.
>>>>> A *unsubscribe de este grupo y la parón que recibe *emails de él, enviar 
>>>>> un *email a pastel-*php+*u...@***googlegroups.*com.
>>>>> A correo a este grupo, envía *email a cake...@xxxxxxxxxxxxxxxx.
>>>>>
>>>>> Visita este grupo en *http://grupos.*google.*com/**Pastel/de grupo-*php?*hl=*en<*http://Grupos.*google.*com/Pastel/de grupo-*php?*hl=*en>
>>>>> .
>>>>> Para más opciones, visita *https://grupos.*google.*com/**Los Grupos/optan_fuera de *https://grupos.*google.*com/Los<Grupos/optan_fuera>
>>>>> .
>>>>>  
>>>>>  
>>>>>
>>>>
>>>>  -- 
>>> Gustarnos en *FaceBook *https://www.facebook.com/*CakePHP
>>> nos Encuentra en *Twitter *http://*twitter.*com/*CakePHP
>>>  
>>> --- 
>>> Recibiste este mensaje porque eres *subscribed al *Google 
>>> Grupos "*CakePHP" grupo.
>>> A *unsubscribe de este grupo y la parón que recibe *emails de él, enviar 
>>> un *email a pastel-*php+u...@xxxxxxxxxxxxxxxx.
>>> A correo a este grupo, envía *email a cake...@xxxxxxxxxxxxxxxx.
>>> Visita este grupo en *http://grupos.*google.*com/Pastel/de grupo-*php?*hl=*en.
>>> Para más opciones, visita *https://grupos.*google.*com/Los Grupos/optan_fuera.
>>>  
>>>  
>>>
>>
>>

-- 
Gustarnos en *FaceBook *https://www.facebook.com/*CakePHP
nos Encuentra en *Twitter *http://*twitter.*com/*CakePHP

--- 
Recibiste este mensaje porque eres *subscribed al *Google Grupos "*CakePHP" grupo.
A *unsubscribe de este grupo y la parón que recibe *emails de él, enviar un *email a pastel-*php+unsubscribe@xxxxxxxxxxxxxxxx.
A correo a este grupo, envía *email a pastel-php@xxxxxxxxxxxxxxxx.
Visita este grupo en *http://grupos.*google.*com/Pastel/de grupo-*php?*hl=*en.
Para más opciones, visita *https://grupos.*google.*com/Los Grupos/optan_fuera.


its "/app/Vendor" (not "/app/Vendors") - note the singular form.
only on root level its (lowercase!) "vendors".

and if you dont got it and need it you can just create that folder.


Am Sonntag, 9. Juni 2013 02:04:27 UTC+2 schrieb Jose Antonio Amuchastegui:
>
> Hi
>
> Jeet, I dont have public_html/app/Vendors, this is why I put the php_sdk 
> folder inside the vendors folder, outside the app folder, because I dont 
> have it. 
>
> I am sending you an screen shot: http://prntscr.com/18yung
> These are my public_html files. 
>
>
>
> El martes, 4 de junio de 2013 04:54:27 UTC-5, jeet bajaj escribió:
>>
>> Brother you have to move php_sdk folder from 
>> "public-html/vendors/php_sdk/" to "public-html/app/Vendors/php_sdk/", i 
>> think you have put the php_sdk folder inside the vendors folder outside of 
>> app folder. try this, it will work...:-)
>>
>>
>> On Tue, Jun 4, 2013 at 3:00 PM, Jose Antonio Amuchastegui <
>> cju...@xxxxxxxxx> wrote:
>>
>>> Hi Jeet
>>>
>>> I am sorry disturbing again. 
>>>
>>> I have done the following: 
>>>
>>> 1.- Create a folder on: public_html/vendors/php_sdk
>>>      This folder contains: src folder (files downloaded from facebook 
>>> php sdk)
>>>
>>>      Screenshot: http://prntscr.com/187ag0
>>>      Screenshot: http://prntscr.com/187ahv
>>>
>>> 2.- I make a function at appcontroller.php 
>>> (public_html/controllers/app_controller.php
>>>      
>>>     The original file was: 
>>>    
>>>     <?php 
>>> class AppController extends Controller 
>>> { 
>>>     var $helpers = array( 
>>>         'Skitter' 
>>>     ); 
>>> } 
>>> ?>
>>>
>>> And after my function is: 
>>>
>>> <?php 
>>> class AppController extends Controller 
>>> { 
>>>     var $helpers = array( 
>>>         'Skitter' 
>>>     ); 
>>> } 
>>> public function fbConnect() {
>>>
>>>   App::import('Vendor', 'src/facebook');
>>>
>>>   $config = array(
>>>         'appId' => '291063454361392',
>>>         'secret' => 'a2cf7f82bb6e18bece7eef282d9f9ce7',
>>>         'fileUpload' => false, // opcional
>>>     );
>>>   $facebook = new Facebook($config); ?>
>>>         
>>>   return $facebook;
>>>
>>> }
>>> ?>
>>>
>>>
>>> Now, in the page I want to set the multi friend request dialog I set this: 
>>>
>>>
>>> <html xmlns="http://www.w3.org/1999/xhtml";
>>>   xmlns:fb="https://www.facebook.com/2008/fbml";>
>>>   <head>
>>>     <title>Invita a tus amigos</title>
>>>   </head>
>>> <body>
>>>
>>> <p>
>>> 	&nbsp;</p>
>>> <div id="fb-root">
>>> 	&nbsp;</div>
>>> <script src="http://connect.facebook.net/es_ES/all.js";> </script>
>>> <h1 style="margin-left: 40px;">
>>> 	Invita a tus amigos en Facebook</h1>
>>> <p style="margin-left: 40px;">
>>> 	<button class="btn" id="send-to-many">Invitalos</button>
>>>
>>>     <script>
>>>       FB.init({
>>>         appId  : '291063454361392',
>>>         frictionlessRequests: true
>>>       });
>>>
>>> function sendRequestViaMultiFriendSelector() {
>>>   FB.ui({method: 'apprequests',
>>>     message: 'My Great Request'
>>>   }, requestCallback);
>>> }
>>> function requestCallback(response) {
>>>         // Handle callback here
>>>       }
>>>     </script>
>>>
>>>
>>> Well, the result is this: 
>>>
>>>
>>> http://prntscr.com/187ayc
>>>
>>>
>>> But, this button neither call the facebook appi: 
>>>
>>> The result i am looking is something like this: 
>>>
>>> http://prntscr.com/187b13
>>>
>>>
>>> Can you guide me a little more please. 
>>>
>>>
>>> El martes, 28 de mayo de 2013 23:38:36 UTC-5, jeet bajaj escribió:
>>>
>>>> Hey Jose!
>>>>
>>>> As you said your website is made up on CAKEPHP, then i will suggest to 
>>>> instead to placing the file you download from github "public_htm" 
>>>> directory.
>>>> You put those files in "\app\Vendor" folder. and remove the code 
>>>> whatever you have written in index.php. Beside this i will suggest to make 
>>>> a function in AppController.php file like
>>>>
>>>>
>>>> public function fbConnect() {
>>>>
>>>>   App::import('Vendor', 'src/facebook');
>>>>
>>>>   $config = array(
>>>>         'appId' => '291063454361392',
>>>>         'secret' => '**a2cf7f82bb6e18bece7eef282d9f9c**e7',
>>>>         'fileUpload' => false, // opcional
>>>>     );
>>>>   $facebook = new Facebook($config); ?>        
>>>>   return $facebook;
>>>>
>>>>
>>>> }
>>>>
>>>>
>>>> I must help you.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Tue, May 28, 2013 at 4:26 AM, Jose Antonio Amuchastegui <
>>>> cju...@xxxxxxxxx> wrote:
>>>>
>>>>> HI
>>>>>
>>>>> I am not a developer, I am trying to learn php and cakephp and now I 
>>>>> am trying to set a facebook appi, multi friend request dialog. 
>>>>>
>>>>> I have read dozens of tutorials, pages, facebook wiki, facebook 
>>>>> documentation, so I am trying to follow the instructions I have gathered. 
>>>>>
>>>>> 1.- I have registered my facebook appi and get my appId and secret 
>>>>> key. 
>>>>> 2.- Downloaded the github files: 
>>>>>
>>>>> My site is based on cakephp, so everything is at public_html directory 
>>>>> in my server. 
>>>>>
>>>>> 3.- Inside this public_html I create a directory named: php-sdk
>>>>> 4.- Inside I uploaded (ftp) the src file I downloaded from github
>>>>> 5.- Inside I created an index.php file: 
>>>>>
>>>>>        <?php
>>>>>
>>>>>     require_once("src/facebook.**php");
>>>>>
>>>>>     $config = array(
>>>>>         'appId' => '291063454361392',
>>>>>         'secret' => '**a2cf7f82bb6e18bece7eef282d9f9c**e7',
>>>>>         'fileUpload' => false, // opcional
>>>>>     );
>>>>>
>>>>>     $facebook = new Facebook($config); ?>
>>>>>
>>>>>
>>>>>
>>>>> As I understood, this should let me use facebook sdk, so I went to my software.
>>>>>
>>>>>
>>>>>
>>>>> Inside the page of my software (template_page_facebook) where I want to enable the Multi Friend Selector Dialog, I wrote this:
>>>>>
>>>>> <HTML xmlns = "http://www.w3.org/1999/xhtml";
>>>>>   xmlns: fb = ""> INVITA A TODOS TUS AMIGOS EN FACEBOOK
>>>>>   <head>
>>>>>     <title> INVITA A TODOS TUS AMIGOS EN FACEBOOK </title>
>>>>>   </head>
>>>>>
>>>>>   <body>
>>>>>     <div id="fb-root"> </div>
>>>>>     <script src="http://connect.facebook.**net/es_ES/all.js <http://connect.facebook.net/es_ES/all.js>"> </script>
>>>>>
>>>>>     <h1>INVITA A TODOS TUS AMIGOS EN FACEBOOK</h1>
>>>>>       <button class="btn" id="send-to-many">Invitalos</**button>
>>>>>
>>>>>     <script>
>>>>>  sendRequestToRecipients function () {
>>>>> var user_ids = document.getElementsByName ("user_ids") [0] Valor.;
>>>>> FB.ui ({method: 'apprequests',
>>>>>           message: 'Mi gran solicitud.'
>>>>>           a: 'user_ids',
>>>>>      }, Log.info.bind('send-to-many callback'));
>>>>> }      
>>>>>
>>>>> FB.init ({
>>>>>     Id de aplicación: '291063454361392 ',
>>>>>     status: true, // comprobar estado de login
>>>>>     cookie: true, // habilitar cookies para permitir al servidor acceder a la sesión
>>>>>     sfbml: true, // ejecutar código XFBML
>>>>>     channel: true,
>>>>>     channelURL : 'http://www.mywebsite.com/**channel.html <http://www.mywebsite.com/channel.html>', // fichero channel.html
>>>>>     oauth: true,
>>>>>     frictionlessRequests: true
>>>>>     init: true,
>>>>>     level: "debug",
>>>>>     signedRequest: null,
>>>>>     trace: false,
>>>>>     version: "mu",
>>>>>     viewmode: "website",
>>>>>     autorun: true
>>>>>       });
>>>>>     </script>
>>>>>   </body>
>>>>> </Html>
>>>>>
>>>>> Then, I created the channel diretory at public_html and inside is a 
>>>>> file channel.html
>>>>>
>>>>> The result is "error"
>>>>>
>>>>> I have read everything, but as i am not developer I think there are 
>>>>> multiple things I am doing wrong. I also have read: 
>>>>> https://developers.**facebook.com/blog/post/464/<https://developers.facebook.com/blog/post/464/>
>>>>> :
>>>>>
>>>>>
>>>>> So, any body please can describe me what do I shall do??
>>>>>
>>>>>
>>>>> Thanks
>>>>>
>>>>>
>>>>>
>>>>>  -- 
>>>>> Like Us on FaceBook https://www.facebook.com/**CakePHP<https://www.facebook.com/CakePHP>
>>>>> Find us on Twitter http://twitter.com/CakePHP
>>>>>  
>>>>> --- 
>>>>> You received this message because you are subscribed to the Google 
>>>>> Groups "CakePHP" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>> an email to cake-php+u...@**googlegroups.com.
>>>>> To post to this group, send email to cake...@xxxxxxxxxxxxxxxx.
>>>>>
>>>>> Visit this group at http://groups.google.com/**group/cake-php?hl=en<http://groups.google.com/group/cake-php?hl=en>
>>>>> .
>>>>> For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>>>> .
>>>>>  
>>>>>  
>>>>>
>>>>
>>>>  -- 
>>> Like Us on FaceBook https://www.facebook.com/CakePHP
>>> Find us on Twitter http://twitter.com/CakePHP
>>>  
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "CakePHP" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to cake-php+u...@xxxxxxxxxxxxxxxx.
>>> To post to this group, send email to cake...@xxxxxxxxxxxxxxxx.
>>> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>  
>>>  
>>>
>>
>>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


<Anterior por Tema] Tema Actual [Siguiente por Tema>