Tutorial: Integrare Facebook Connect in un sito sviluppato con CMS (Lesson 1)

Spread the love

Partiremo oggi con un tutorial alquanto interessante per gli sviluppatori. Vediamo come è possibile integrare Facebook Connect al proprio CMS, e nel caso specifico ci occuperemo di WordPress. Il tutorial sarà diviso in più lezioni per permettere a chi è interessato di prendere dimestichezza man mano con le fasi di integrazione.

E’ interessante visualizzare come si può personalizzare a piacere il collegamento per aumentare sempre più la propria rete di amici.

Come passo fondamentale è necessario installare il plug-in 🙂

Collegarsi alla download page di Facebook e scaricare l’ultima versione del plug-in Facebook Connect.
Una volta scaricato il file, occore un-zipparlo e copiare l’intera cartella nel vostro CSM nel percorso /wp-content/plugins/ in alternativa se il CMS è già pubblicato fare l’upload nel medesimo percorso.
Nel menu amministratore di WordPress, una volta effettuato l’accesso andare nella pagina dei Plug-In ed effettuare l’attivazione dello stesso.

Passo successivo è creare l’applicazione che permetterà all’iscritto di fare il “traghetto” tra il vostro sito e Facebook.

Quindi bisogna collegarsi al sito http://www.facebook.com/developers/ (pagina per chi sviluppa) ed effettuare il login con i propri dati di autenticazione a Facebook.
Guardare in alto a destra e cliccare su “Set Up New Application”. Inserire il nome del proprio sito (oppure un nome particolare a propria discrezione che faccia intendere l’utilizzo dell’applicazione) e cliccare su Procedi.

Una volta creata vanno appuntati e salvati i dati dei valori di Secret e quelli delle API Key. Sempre sulla destra necessita cliccare su “Edit Setting” ed inserire nella sezione Callback URL, l’indirizzo del vostro sito internet ma soprattutto impostare come Developer gli admin fondamentali del vostro sito. Sempre in questi settaggi c’è la possibilità di impostare le icone dell’applicazione e quelle del collegamento (tra cui quella di Facebook) e di scegliere la lingua di utilizzo preminente (nel nostro caso Italiano).

Adesso facciamo un po’ di configurazioni più tecniche. Abbandoniamo quindi l’area di sviluppo di Facebook e rechiamoci nel pannello di Amministrazione del nostro sito pilotato da CMS (ricordiamo sempre che stiamo utilizzando a titolo esemplificativo WordPress) per entrare nella pagina delle Impostazioni dove troveremo anche Facebook Connect. Qui torneranno utili i dati appuntati in precedenza (quelli di Secret e di API Key) che vanno inseriti negli appositi settori. Ulteriore personalizzazione possibile in quest’interfaccia di Editing è quella che permette di inviare i commenti a Facebook e di approvarli automaticamente.
Cliccare quindi su Salva per accettare le modifiche.

Nella prossima lezione parleremo di Template.

476 commenti su “Tutorial: Integrare Facebook Connect in un sito sviluppato con CMS (Lesson 1)”

  1. Howdy would you mind stating which blog platform you’re working with? I’m planning to start my own blog in the near future but I’m having a difficult time selecting between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design and style seems different then most blogs and I’m looking for something completely unique. P.S Apologies for getting off-topic but I had to ask!

    Rispondi
  2. Hello I am so happy I found your site, I really found you by
    mistake, while I was looking on Aol for something else,
    Nonetheless I am here now and would just like to say
    thanks a lot for a marvelous post and a all round entertaining blog (I also love
    the theme/design), I don’t have time to browse it all at the minute but I have bookmarked it
    and also included your RSS feeds, so when I have time I will be back to
    read a lot more, Please do keep up the great job.

    Rispondi
  3. Thanks for your marvelous posting! I actually enjoyed reading it,
    you might be a great author.I will always bookmark your blog and will eventually come back later
    on. I want to encourage you continue your great work, have a nice morning!

    Rispondi
  4. I do not even understand how I finished up here, however I believed this publish was
    good. I don’t recognize who you might be however certainly you are going to a well-known blogger if you happen to aren’t already.
    Cheers!

    Rispondi
  5. Hello! I could have sworn I’ve been to this website before but after going through a few of the posts I realized it’s new to me. Nonetheless, I’m definitely delighted I came across it and I’ll be book-marking it and checking back frequently!

    Rispondi
  6. Wonderful article! That is the kind of info that should be shared across the net.
    Disgrace on Google for not positioning this publish upper!
    Come on over and consult with my site . Thank you =)

    Rispondi
  7. Hello! I just wanted to ask if you ever have any trouble
    with hackers? My last blog (wordpress) was hacked
    and I ended up losing a few months of hard work due to no
    data backup. Do you have any methods to prevent hackers?

    Rispondi
  8. I am really impressed with your writing skills as well as with the layout on your blog.
    Is this a paid theme or did you customize it yourself?

    Anyway keep up the excellent quality writing, it is rare to see a great blog like this one nowadays.

    Rispondi
  9. I was recommended this blog by my cousin. I’m not sure whether
    this post is written by him as nobody else know such detailed about my trouble.
    You are incredible! Thanks!

    Rispondi
  10. Hey, I think your blog might be having browser compatibility issues. When I look at your blog site in Firefox, it looks fine but when opening in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up! Other then that, fantastic blog!

    Rispondi
  11. Good day I am so grateful I found your website, I really found you by mistake, while I was searching on Google for something else, Regardless I am here now and would just like to say cheers for a remarkable post and a all round enjoyable blog (I also love the theme/design), I dont have time to browse it all at the minute but I have saved it and also included your RSS feeds, so when I have time I will be back to read much more, Please do keep up the awesome b.

    Rispondi
  12. This is the right blog for anyone who really wants to find out about this topic. You realize so much its almost hard to argue with you (not that I actually would want toHaHa). You definitely put a new spin on a topic that’s been written about for many years. Great stuff, just great!

    Rispondi
  13. I am extremely impressed with your writing skills and also with the layout on your blog. Is this a paid theme or did you customize it yourself? Either way keep up the nice quality writing, it’s rare to see a nice blog like this one nowadays.

    Rispondi
  14. You’re so interesting! I do not ssuppose I’ve ruly rewd throuugh
    sommething ljke thhis before.So nicxe too fibd another person withh some unique thouughts onn thiss subject matter.
    Really.. many thanks ffor startting his up. Thiss wweb site
    is something tha is required on the internet, someone wwith a little
    originality!

    Rispondi
  15. Great weblog here! Additionally your site a lot up very fast!
    What host are you the use of? Can I am getting your affiliate link for your
    host? I wish my website loaded up as quickly as yours lol

    Rispondi
  16. Helolo there I am sso excfited I foun yoour webpage, I
    really found you bby error, while I wwas researching onn Google for
    somethig else, Nonethelesxs I amm here noww andd woulod just liuke to say thanks a lott
    foor a tremendous pokst andd a alll roind exciting blog (I
    also lovbe thhe theme/design), I don’t have time to
    broqse iit all att the moment butt I hhave ssved iit and also injcluded your RSS feeds, so
    when I have time I will bee bback to resd mucch more,
    Pleasae ddo keep upp the excellent work.

    Rispondi
  17. Hello there! I know this is kinda off topic however I’d figured I’d ask. Would you be interested in exchanging links or maybe guest writing a blog article or vice-versa? My website addresses a lot of the same subjects as yours and I believe we could greatly benefit from each other. If you happen to be interested feel free to send me an e-mail. I look forward to hearing from you! Terrific blog by the way!

    Rispondi

Lascia un commento