Search Results

Search found 9897 results on 396 pages for 'facebook social plugins'.

Page 105/396 | < Previous Page | 101 102 103 104 105 106 107 108 109 110 111 112  | Next Page >

  • Browser freezes when try to call a JS function along with submission of a form.

    - by Waseem
    I have form in my view like following 1 <div> 2 <% form_tag facebook_user_path do %> 3 <label>Use my photo and name from facebook?</label><br /> 4 <%= check_box_tag 'use_name_and_photo', 'yes', true %> 5 <img src="<%= @user.pic %>" /><% @user.name %> 6 7 <%= submit_tag "Finish", :id => "use_name_and_photo_submit" %> 8 <% end %> 9 </div> I have attached some JS handlers using Jquery to this form. 1 var fb = { 2 extendedPermissions: function () { 3 $("#use_name_and_photo_submit").click(function (event) { 4 FB.Connect.showPermissionDialog("email,read_stream,publish_stream", function (perms) { 5 if (!perms) { 6 alert("You have to grant facebook extended permissions to further browse the application."); 7 } else { 8 $("form").submit(function () { 9 $.post($(this).attr("action"), $(this).serialize(), null, "script"); 10 }); 11 } 12 }); 13 event.preventDefault(); 14 return false; 15 }); 16 } 17 }; 18 19 $(document).ready(function () { 20 fb.extendedPermissions(); 21 }); What I want is that when the user clicks on the "Finish" button, he is prompted for the facebook permissions dialogue and when he gives the permissions, the form is submitted to FacebookUsersController. Right now when I click the "Finish" button, facebook permissions dialogue is initiated but before I am prompted for the actual permission submission window, the browser freezes. Just like I have pressed Esc during the process. In fact status bar of the browser says "Stopped". Any help is highly appreciated.

    Read the article

  • PHP SDK Requires two logins...doesn't recognize first

    - by Jay Konieczny
    I am using the following code to authenticate whether users are logged in or not. While users can log in, they have to click the login button twice. Additionally, sometimes even after they click the log-in button twice, my "user info" part of the page (earlier in the page than the content) shows them as logged out while the actual page shows them as logged in. Here is the code. Could someone suggest a better way of handling log-ins? function isLoggedIn($facebook) { if (isset($facebook) and $facebook->getUser() != 0) { // UserID exists, but user may still not be logged in. Let's check: try { $facebook->api('/me', 'GET'); // If this succeeds, then they are logged in. return true; } catch(FacebookApiException $e) { // Some kind of error, so not logged in. if(session_id() === '') session_destroy(); return false; } } else { if(session_id() === '') session_destroy(); return false; } } Thanks!

    Read the article

  • Quelle firme représente le plus grand danger pour Google : Facebook ou Microsoft ? Eric Schmidt penche pour le second choix

    Quelle firme représente le plus grand danger pour Google : Facebook ou Microsoft ? Eric Schmidt penche pour le second choix Depuis quelques mois, les citations et rapports avançant que Facebook est le plus grand rival de Google ne cessent de se succéder. Mais est-ce vraiment le cas ? Pas au goût d'Eric Schmidt en tous cas, le CEO sortant de la firme de Mountain View. Selon lui, l'entreprise faisant le plus de concurrence à Google est Microsoft. Il précise que Redmond possède plus de cash, d'ingénieurs et de clients, ce qui pousse Google à "sentir la concurrence de Microsoft chaque jour". Alors que, parallèlement à cela, Facebook a clairement expliqué qu'il ne s'attaquerait pas ...

    Read the article

  • Facebook dépasse Google et devient le site le plus populaire aux états unis, selon les dernières sta

    Facebook.com dépasse Google.com sur le nombre de visites Quand les réseaux sociaux s'emparent du Web Une récente analyse effectuée depuis Mars 2009 montre que le site communautaire Facebook dépasse de 0.04% le géant des moteurs de recherche. [IMG]http://www.livesphere.fr/images/dvp/Facebook-Google.png[/IMG] La perpétuelle évolution des réseaux sociaux montre l'intérêt qu'on les internautes pour ces derniers et permet d'entrevoir concrètement l'importance de ces réseaux sur la toile. Tout autant, il apparait clairement que le nombre de visites est le plus important lors des vacances scolaires ou des évènements comme Noël,... Quand le web communauta...

    Read the article

  • Folly : la bibliothèque C++ open-source de Facebook, une initiative pour partager les outils utilisés en interne

    Folly : la bibliothèque C++ open-source de Facebook Une initiative pour partager les outils utilisés en interne Herb Sutter, l'expert reconnu du langage C++, encense dans son dernier billet de blog l'initiative de Facebook qui vient tout juste de publier en open-source sa bibliothèque d'utilités : Folly. Cette bibliothèque contient tout un tas d'algorithmes et de structures utilisés dans le code de Facebook. L'essentiel des fonctionnalités couvre les problèmes de performances ou d'absence d'implémentations trouvés dans les bibliothèques déjà existantes comme Boost ou la bibliothèque standard. De plus en plus d'entreprises mettent leur code source à disposition de tous et permettent...

    Read the article

  • De plus en plus d'employeurs exigent les identifiants Facebook des candidats d'après Reuters, une pratique légale aux USA

    De plus en plus d'employeurs exigent les identifiants Facebook des candidats D'après Reuters, une violation de la vie privée qui serait tout à fait légale aux Etats-Unis [IMG]http://blog.developpez.com/media/facebook_128.png[/IMG] Aux Etats-Unis, les personnes à la recherche d'un emploi se retrouvent confrontées à un tout nouveau problème selon l'agence de presse Reuters. Certains employeurs exigeraient durant les entretiens d'embauche que les candidats dévoilent leurs identifiants Facebook. Plusieurs études ont démontré que Facebook pouvait être un outil de recrutement utile. Passer 5 à 10 minutes sur le profil d'un candidat permet à l'employeur d'en apprendre beaucou...

    Read the article

  • What motivated Facebook to choose PHP and Twitter to choose Rails? [closed]

    - by mallieem saleie
    Possible Duplicates: Why did Facebook, Wordpress, vBulletin use PHP/MySQL? Why did Facebook use C++ beside PHP? While Facebook chose PHP and Twitter chose Ruby on Rails, I stopped and asked myself a question! why did they chose PHP and Ruby on Rails? Why not ASP.NET or Java? Is it because of bieng open source? or what?. I just want to know the right reason so I can examine their vision and decide which technology should I use if I want to build something unique.

    Read the article

  • OAuth in Rails - google, twitter, facebook, connect for login like stackoverflow login

    - by Sam
    Rails has the rest autho plugin which works well but is there a solution for incorporating twitter, facebook, google, yahoo, etc... Seems like each on has its own plugin and demands and mixing them is going to be a mess. This is for logging in users like how Stackoverflow gets things done not for using the robust features of the APIs. What I want to do is do what stackoverflow did for login but in rails.

    Read the article

  • Creating notes on facebook through FBConnect in iPhone application

    - by Vin
    Hi All, I have tried FBConnect for iPhone and am able to create/manage sessions and upload pictures successfully. What I can't sort out is, how to create and edit notes. The Facebook documentation says that notes.create query takes three arguments:title, content and uid. It seems I am unable to form the right request for the required query. Please help me on this. Thanks in advance.

    Read the article

  • Different canonical URLs for Facebook and Google?

    - by Victor P
    The following URLs point to the same resource: http://www.domain.com/books/123 http://www.domain.com/books/123-Harry-Potter http://www.domain.com/books/123-Harry-Potter-And-The-Deathly-Hallows I would like to use (1) as the canonical URL for OpenGraph/Facebook, so if you "like" (2) and (3) then will count for (1). But I would like to use (3) as the canonical URL for Google, because of SEO. Is this recommended?

    Read the article

  • "Invite your friends" feature in RoR

    - by Nisanio
    Hi, many social networks let to invite your gmail-hotmail-yahoo friends (even Outlook, but I thinks that is more difficult) to the social network. Basically the app read your email friends list and sent a email invitation. How can I achieve this in RoR? Thanks

    Read the article

  • Facebook: Invalid mark up on FBML

    - by Jhourlad Estrella
    I am using the W3C XHTML validator to check my sites and I am getting some errors on pages with FBML. Most of the cause of such errors is the "&" character. Since FBML values and attributes are generated on the fly, I have no way to encode the character properly before displaying it. Question: Is there a way for me to tell Facebook Connect to render the mark up properly? Thanks.

    Read the article

  • Best practice zend framework + faceBook Api

    - by simple
    What is better way to integrate facebook api, in zend framework, for login I can implement Zend_Auth_Adapter_Interface but I found something like Zend_Service_Twitter, and thinking if I should implement Zend_Service_interface and what are the odds, sorry haven't looked at the architecture of Zend_Service yet, but any advice would be appreciated and would save me time from going to wrong direction

    Read the article

  • Cocoa touch - prepopulate facebook connect publish to feed

    - by teepusink
    Hi, I'm using the iPhone facebook connect package. How do I prepopulate the "publish to feed" example or take out the message field? Something like this one http://www.burnthebox.us/mobile/iPhone/products/disconnect/instructions/images/DisConnect_FB_Publish_Story.png (The default in the example has an input text field) Also what would it take to skin the popup look? Thanks, Tee

    Read the article

  • Authlogic Facebook find existing account

    - by pcasa
    Using Authlogic and Authlogic Facebook Connect. before_filter works great. Get name and facbook_uid saved in db. Only problem is that it saves a new record every time. Need help figuring out how to build some type of find_by_facebook_uid_or_create_user I have tried reading up on the API's for facebooker, but this is way over me. :( UPDATED - users_controller.rb def before_connect(facebook_session) self.firstname = facebook_session.user.first_name self.lastname = facebook_session.user.last_name self.persistence_token = reset_persistence_token end application_controller.rb before_filter :set_facebook_session helper_method :facebook_session

    Read the article

  • i want to show a panel just like facebook or for captcha validation

    - by Lokesh
    i have a simple form and when user enters all the information and hits the submit botton than a panel should open just a width of 200px and height of 100px inside the same window. which should have two fields one is captcha image and a text box and a check botton and if captcha code is right than panel should automatically close and redirect to another page just like facebook . all the details of the panel is saved on another php file.

    Read the article

< Previous Page | 101 102 103 104 105 106 107 108 109 110 111 112  | Next Page >