HEX
Server: Apache
System: Linux dev.epsylon.net 3.10.0-1160.144.1.el7.tuxcare.els2.x86_64 #1 SMP Sun Feb 15 11:22:42 UTC 2026 x86_64
User: nexper (1054)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/nexper/public_html/crm/custom/include/social/facebook/facebook.js
/**
 * Created by ian on 14/01/14.
 */

$(function() {
    //create new subpanel for social feeds



        //Ajax Call
        username = $("#facebook_user_c").text();
        if(username){
             module = $("#formDetailView input[name=module]").val();
             record = $("input[name=record]").val();
             social = "facebook";
             url = document.URL;

             $.ajax({
                 type: "POST",
                 url: "index.php?entryPoint=social&social=facebook&username=" + username + "&module=" + module + "&record=" + record,
                 data: { username: username, social: "facebook", url:url }
             })
             .done(function( msg ) {
                $("#facebook_feed").html( msg );
             });
         }
});