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: jeet bajaj <bajajeet@xxxxxxxxx>
Date: Mon, 10 Jun 2013 11:30:56 +0530
Delivery-date: Mon, 10 Jun 2013 02:01:09 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=x-beenthere:mime-version:in-reply-to:references:date:message-id :subject:from:to:x-original-sender:x-original-authentication-results :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=J8yRcrfSlLwJmMlV4eBn4jEPdjH2ASPk+dFFtwpt4Xo=; b=hXbdYS6gww9B7cL7mOa5jOovQWJSfYjOOuz4q3EbLqf3VlWg2WWHiVov1ypP4t64HS vFMP4ByTcLCUyI0ePtAAWkYIOcBWyy79K+cfX6OYJBSdyqDgTN26tY2pBouBp23MNkZ2 WNerG9yxHrsyeIu5jO92TrbA0MPp4JBvkAV0wfiMZ2UINO304IQU/pbVjKk117mR9HjL JQOtGxDTnsEqsiOLAl4ro27yJThq99+0DXqiimCnDYP2FA32R9LO6IgHViLDUTUtDMWI nF949Pmn/Sa4ekv527OXOMgPbTRq5Ja+hJeszPWTG4i1qn4rruFye8+dWSsPx3kebO3x yfxw==
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-beenthere:mime-version:in-reply-to:references:date:message-id :subject:from:to:x-original-sender:x-original-authentication-results :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=J8yRcrfSlLwJmMlV4eBn4jEPdjH2ASPk+dFFtwpt4Xo=; b=lFUDeSq0cYj/XmZDjIX6g/8GuIZMvhRbNHnsn1BHe7lyzRuNShttChiGtFEZMGPW1E XvZ+1zC+jhxKbkcCpSVh1L1R8hbtN0RLp1GIWSby7JB21WVhvJw5NvTTuUJvLj9IgPj+ ktfyJaXa2yhi8yXbT8aYOtD0s/cENjRKZiHxiburPHpJ23w1oJdSliVq80tHbihx0DR8 wAT6OnbdDTqQQybIi78ZZ5MDqHq70WGNXfapaCNG10Y9F2fQSbwTAVxue73WWLAPfrn3 M343dGWFygzIsVxEMVfD1qqf0vwunAzTThabLTjI9tfdSFiDzyUSu+OXKhrX3Da1ZnF+ AUXw==
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <66658fe6-d5c4-4461-93d6-0664fa957072@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> <66658fe6-d5c4-4461-93d6-0664fa957072@googlegroups.com>
Reply-to: cake-php@xxxxxxxxxxxxxxxx
Sender: cake-php@xxxxxxxxxxxxxxxx
Te pienso ha sacado el *app carpeta de *cakephp estructura de archivo, y movió
es contenido a público_*html carpeta, causa la carpeta de pastel también
cuando el modelo, controlador también cuando carpetas de vista son allí en carpeta misma.
No sé si otros módulos de vuestro sitio están trabajando. Pero si te ha
hecho esto, no es la manera correcta de hacer un *website en *cakephp . Prueba seguir *cakephp reglas. Por la manera lo que versión de *Cakephp te es utilizando?

Si te puedes compartir *cpanel control, lo podría ser  fácil a *rectify el
asunto, otro sensato si es completamente nuevo *website y otros módulos no
han  sido hechos, *i sugerirá para descargar una versión fresca de *cakephp y hacer
los pasos hemos hablado antes de que.


En Sol, *Jun 9, 2013 en 11:55 PM, *euromark <dereuromark@xxxxxxxxx> escribió:

> 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<*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<*http://*prntscr.*com/187*ag0>
>>>>      *Screenshot: *http://*prntscr.***com/187*ahv<*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*c***e7',
>>>>         '*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 <*http://*www.*w3.*org/1999/*xhtml>"
>>>>   *xmlns:*fb="*https://*www.***facebook.*com/2008/*fbml <*https://www.facebook.com/2008/*fbml>">
>>>>   <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 <*http://Conecta.*facebook.Neto/*es_ES/todo.*js>"> </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 *sendRequestViaMultiFriendSelec***tor()
>>>>   #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.***n***et/*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</***b***utton>
>>>>>>
>>>>>>     <guió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/***chan***nel.*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.***faceb***ook.*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/***CakeP**HP<*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/***grou***ps/Opta_fuera de *https://grupos.*google.*com/Los<Grupos/optan_fuera>
>>>>>> .
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>  --
>>>> 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...@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<*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+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.
>
>
>

-- 
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.


I think you have removed the app folder from cakephp file structure, and
moved it's content into public_html folder, cause the cake folder as well
as the model, controller as well as view folders are there in same folder.
I do not know if other modules of your site are working. but if you have
done this, it is not the right way to make a website on cakephp . Try to
follow cakephp's rules. By the way what version of Cakephp are you using?

If you can share you cpanel control, might be it will easy to rectify the
issue, other wise if it is completely new website and other modules have
not  been made, i will suggest to download a fresh version of cakephp and
do the steps we have discussed before.


On Sun, Jun 9, 2013 at 11:55 PM, euromark <dereuromark@xxxxxxxxx> wrote:

> 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<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<http://prntscr.com/187ag0>
>>>>      Screenshot: http://prntscr.**com/187ahv<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' => '**a2cf7f82bb6e18bece7eef282d9f9c**e7',
>>>>         '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 <http://www.w3.org/1999/xhtml>"
>>>>   xmlns:fb="https://www.**facebook.com/2008/fbml <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 <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 sendRequestViaMultiFriendSelec**tor() {
>>>>   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' => '**a2cf7f82bb6e18bece7eef282d9f9**c**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' => '**a2cf7f82bb6e18bece7eef282d9f9**c**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.**n**et/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</**b**utton>
>>>>>>
>>>>>>     <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/**chan**nel.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.**faceb**ook.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/**CakeP**HP<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/**grou**ps/opt_out<https://groups.google.com/groups/opt_out>
>>>>>> .
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>  --
>>>> 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...@xxxxxxxxxxxxxxxx**.
>>>> 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+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.
>
>
>

-- 
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>