Javascript SDK using place the Facebook wall on site

I am new to trying to integrate Facebook with Web sites.  I can do Twitter without problem, but Facebook raises questions.  I've went to the Facebook Developer area and generated code to place a Facebook wall on the site of a friend.  However, it does not, nor does the button I like.  What follows, I placed it in Dreamweaver:

< body > < div id = 'fb-root' > < / div >

< script > (function (d, s, id) {})

var js, SJF = d.getElementsByTagName (s) [0];

If (d.getElementById (id)) return;

js = d.createElement (s); js.ID = id;

js. SRC = "//connect.facebook.net/en_US/sdk.js#xfbml=1 & version = v2.3;

fjs.parentNode.insertBefore (js, SJF);

(} (document, 'script', 'facebook-jssdk')); < /script > < / script >

And for the plugin:

" < div class ="fb-page"data-href = ' https://www.Facebook.com/pages/far-from-the-madding-crowd-Linlithgow/413384208733342 "data-width ="350"data-height ="500"data-hiding-cover = 'false' data-show-facepile = 'false' data-show-post ="true"> < div class ="fb-xfbml-analysis-ignore"" > < blockquote cite = " https://www.Facebook.com/pages/Far-from-the-Madding-Crowd-Linlithgow/413384208733342 " > < a href = " https://www.Facebook.com/pages/Far-from-the-Madding-Crowd-Linlithgow/413384208733342 " > far from the Madding Crowd Linlithgow < /a > < / blockquote > < / div > < / div > ""

On the developer page on Facebook, the wall displays fine with the above code, but when I put the code in Dreamweaver CS5 (using Yosemite OSX), it only shows the name of the company as a hyperlink.  No messages.

The same goes for if I try to put the code for the button I button to follow.

I have been searching google for hours, but can not solve this problem.  Any help would be greatly appreciated.

Have you tested this in a browser or on a website online?

In the script, there is the following line:

var js, SJF = d.getElementsByTagName (s) [0];

It declares two variables JavaScript. The value assigned to the second is d.getElementsByTagName (s) [0]. The last line of the script assigns "script" as value of s. In other words, it is looking for the first script on the page. If you have script blocks in the header of the document, it will choose that badly.

Tags: Dreamweaver

Similar Questions

  • Library facebook wall

    I have music in my library, but cannot share it.  I would like to drag and drop, WMP for a friends FB wall, or copy and paste it, but it is not possible.  I was able to do it via download on soundcloud, first, then share there, but soundcloud said I had hit my limit for downloads.  My downloads are all legally obtained, and I don't see why I can't copy and paste, or drag and drop, the beaches of windows media player directly on the facebook wall.  I tried the location of the file, and it does not work.  my own FB wall, I tried to download, but there is no option for music, just the video and photo, I thought I would cover music too.

    Hi Kathy

    Your best resource for this information would be the Facebook support forums. Someone he has probably already solved this problem.

    Facebook Help Center:

    http://www.Facebook.com/help/

    Facebook Support Forums:

    http://www.thefacebookforum.NET/forum

    Concerning

  • BlackBerry Facebook sdk problem view the status

    I want to integrate Faebook with my Blackberry app. To do this, I downloaded the Facebook SDK for Blackberry(). I use the following code to display the user status ' FB.

    String NEXT_URL = "http://www.facebook.com/connect/login_success.html";
    String APPLICATION_ID = "xxxxxxxxxxxx";
    String APPLICATION_SECRET = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ';
    String [] PERMISSIONS = Facebook.Permissions.USER_DATA_PERMISSIONS;

    ApplicationSettings = new ApplicationSettings (NEXT_URL, APPLICATION_ID, APPLICATION_SECRET, PERMISSIONS);
    Facebook fb = Facebook.getInstance (ACE);

    try {}
    User user = fb.getCurrentUser ();
    String result = user.publishStatus ("Hello world!");
    If ((résultat! = null) &! result.trim (.equals(""))) {}
    Dialog.Inform ("publish success.");
    } else {}
    Dialog.Inform ("publish failed.");
    }
        
    } catch (FacebookException fe) {}
    fe.printStackTrace ();
    }

    The newspaper is successful, it is return to my application correctly and get the details of the user in JSON also. But when publishStatus() is raised, the process is failed. Here are the details of debug on publishStatus() operation window.

    2012-02-07 10:46:51 [INFO] HTTP POST (TCP WIFI): https://graph.facebook.com/xxxxxxxxxxx/feed;interface=wifi
    2012-02-07 10:46:51 [INFO] HTTP-POST response: 403 Forbidden
    2012-02-07 10:46:51 [INFO] HTTP POST body: text/javascript; Charset = UTF-8 (0)

    What is the reason behiind the 403 forbidden error? Is the access token should be with this above URL? If it is, how to integrate it?

    Use this table to permissions

        public static final String[] ALL_PERMISSIONS = new String[] {
                Facebook.Permissions.USER_ABOUT_ME,
                Facebook.Permissions.USER_ACTIVITIES,
                Facebook.Permissions.READ_FRIENDLISTS,
                Facebook.Permissions.READ_STREAM,
                Facebook.Permissions.FRIENDS_ABOUT_ME,
                Facebook.Permissions.MANAGE_FRIENDLISTS,
                Facebook.Permissions.PUBLISH_STREAM, };
    

    This works for check it out you.

    or

    String [] permissions = Facebook.Permissions.ALL_PERMISSIONS;

    Check this one out.

  • HTML5 app + Facebook Javascript SDK = without hope?

    Hi, I am aware that BB10-WebWorks-samples provides the example of Facebook-OAuth-2 for the Facebook integration in an HTML5 app.

    I just confirm that it is really desperate to try to use instead of Facebook Login with Javascript SDK ? I tried to load the Javascript SDK in my HTML5 app without success.

    Hi chadtatro, your sample application works and I understand your well written code. Thank you very much!

    Just think about it... why the documentation for Facebook to use their Javascript SDK led to errors? What is their tutorial for work on other platforms?

  • Since the last update the Facebook and Twitter embarks on a site that I use often went empty. This is not the case with other browsers.

    "Living foods" to Twitter and Facebook on a site that I use frequently have only a title but no content 'feed '. I think that this problem started 3 days ago, when Firefox has been updated. The problem is not present in using another browser and not on the phones or tablets.

    One of the changes in Firefox 42 title adds a blocker follow-up in private browsing windows. That type of filtering may affect integrated features of the social site.

    If you use private windows, you can disable the functionality of anti-tracking on the Options page as a test. This article contains more information on where to find this setting: the Tracking in private browsing Protection.

    If the problem occurs in windows common, hmm... I think you have already tested in Firefox Safe Mode, but if not:

    In Safe Mode, Firefox disables extensions, hardware acceleration, and a few other advanced features to help you determine if they are at the origin of the problem.

    Does not work if Firefox: Hold down the SHIFT key when you start Firefox.

    If Firefox is running: You can restart Firefox in Mode safe mode using either:

    • button "3-bar" menu > "?" button > restart with disabled modules
    • Help menu > restart with disabled modules

    and OK reboot.

    Two scenarios: A small dialog box should appear. Click on 'Start mode safe' (not update).

    Any improvement?

  • Can I have the Profile Manager uses the name of the device used when the placement of placeholders?

    Can I have the Profile Manager uses the name of the device used when the placement of placeholders? Currently, all get renamed 'iPad' when the device through DEP configuration.

    No, but

    I was putting new devices in groups of temporary devices and renaming in bulk, once they are configured for the user, by using user variables / unit...

    The other annoying problem would be the user modifies the device name when they connect it iTunes...

    • the %destinataire% email - address email (the EMailAddress attribute)
    • first_name % - first name (FirstName attribute)
    • full_name % - full name (attribute RealName)
    • % of guid guid (GeneratedID attribute)
    • last_name % - last name (the LastName attribute)
    • the title of the post (the JobTitle attribute) %

    -% mobile_phone % the number of mobile (laptop attribute)

    • short_name % name run (the RecordName, generally the name of the account attribute)

    The variables of the unit are:

    • % BuildVersion % - full OS version on the device
    • ICCID % - ICCID (from the SIM card)
    • IMEI % - IMEI (International Mobile Equipment Identity)
    • OSVersion % - common version number of the operating system of the device
    • ProductName % - name of the product
    • SerialNumber % - serial number
    • % WIFIMAC %-MAC address of the WiFi interface
  • Trying to get on my email, the following statement comes from the IPU: "we're sorry, but you must enable cookies and Javascript to use your username with this site. I click on "here", but nothing happens. How to enable the amd Javascript cookies?

    Try to get t my email, this happens: we're sorry, but you must enable cookies and Javascript to use your username with this site.
    How can I do this?

    George Szántó

    [email protected]

    see similar question answered https://support.mozilla.com/questions/836913

    To be notified of updates to a question, if this is your problem or not just click on the "Get email notifications" and follow made the choice. Only the original poster can mark it as resolved, so there should be a slight difference in choice as an original poster and where you lock on another issue. Notifications only apply to individuals the question where is entered.

  • How can I get the Facebook app on my macbook air using iOS El Capitan?

    I have the FaceBook app on my iPhone, but I can't get the app on my macbook air running iOS X El Capitan.  There is a Facebook for iPhone and iPad, but not for Mac application.  I could access Facebook via the web, but I lose the functionality in this way.

    There is no FaceBook App for OS X. Access you it using your browser.

  • How to increase the use of the memory of a program like FaceBook

    When I'm on FaceBook my AVG program gets up and tells me that I am a program memory of high volume and I have to close and reopen the FaceBook.  How can I increase my use of memory for FaceBook?

    I really don't see how you can get good advice with so little information.

    You can always get things to try that might work sometimes may, and if dig you into the AVG forums, you'll see that AVG have reported problems of memory is quite common.

    Read in the AVG forums, it seems also have nothing to do with the size of your swap file and you should refrain from making adjustments in the pagefile because "someone told me of" (it's not a good reason).   Instead, you must provide information about your current situation and see if we have to make an adjustment or not.  If your swap file needs to be adjusted, you will usually get an informational message like that (which is NOT an error):

    Virtual memory minimum too low: your system is low on virtual memory.  Windows is increasing the size of your virtual memory paging file.

    This means that Windows XP is to let you know that he does his work.  The message is not an error message - this is an informational message.

    AVG is a Devourer of memory resources known and gets the biggest and more hungry all the time and many people posting on the Internet and in the forums of AVG support with issues that sound like yours give up everything AVG all together and move to something like Microsoft Security Essentials (MSE), which is less than a hog memory.

    In the AVG forums, you can find more ideas like this:

    Please be informed that AVG 2012 includes a new Advisor AVG feature. It is designed to warn the user that there could be a leak memory in your browser (in a script or a flash in a website visited, respectively). AVG records an average amount of memory used by a browser and check the value when using the browser. In case the consumption of memory significantly increases, the user is informed of possible memory leak. Browser restart is recommended in these cases.
    Please see an example of informative window advise AVG here

    You may also have too many processes hungry memory running on your system, and we don't know anything about your system.  We do not know how much you have now, the size of your current paging file, your browser memory - basically, we do not know jack.

    What a pity.

    Bottom line of doing a little research:

    I doesn't sound like you have a XP problem - looks like you have a very common problem of AVG.

    Here is the link to the AVG Support Forums where experts hang out:

    http://www.Avg.com/us-en/support

  • The use and the importance of pushing blackBerry SDK

    Hello

    As far as the Service of Blackberry Push has been revealed, I studied the documentation about this feature and fell on several issues:

    1 BB Push SDK. Is it correct to say that the main purpose of this framework is to help you efficiently create game server side of your app to push. There are certain requirements to the development environment as described in the docs (container servlet, RDBMS, java). But what happens if I run a .net Server, for example? Or other than those of java technology. Does that mean that I could not be able to use the SDK?

    2 the party push SDK is required to write the push application? Or I can write and manage https post request from PPG (BlackBerry Infrastructure) on mine?

    Could someone tell me please those moments!

    Thanks in advance.

    Of Push BlackBerry SDK is provided as a way to help a developer to create the game apply to push server-side.  If you use the SDK to push, the application server-side will have to be created in Java.

    However, you can create the server of a request to push in any language you like if you're using another IDE side.

  • How does the Facebook SDK? How to integrate it?

    Hello world

    I have download the sdk facebook for blackberry from this site http://www.baskoro.web.id/facebook-blackberry-sdk.html. I got the code FRO MCet site above and 'Strawberry of Blackberry' facebook application works very well in this SDK. Then I changed the Application, Application Secret id ID and key of the application to point to my facebook application... This newspaper on the page but when I fill my email and password, and then click Open a session., it gives me an error see the dialog "!" "Error: not found 'secret' JSONObject"

    Debugging a little informed me that the line of code

    settings.sessionSecret = response.getString ("secret");      getSession() method in Facecontext.java is null.

    I am a beginner and don't know what it means

    Help, please

    Thank you and

    Concerning

    Hello..

    You must change the type of application natively in your facebook application settings...

    Access your facbook application settings...

    It is in advance, tab or browser (I remember exactly the research in both) you will find the Type of application simply change it to "Native"... and save the settings.

    and run your application, it works perfectly...

    the secret key will be granted only for native applications.

    -------------------------------------------------------------

    If you find the solution, please press kudo...

  • Why can't I get on facebook? I can't get into all the other websites I use but not facebook? need help!

    When my home page comes up, I can use internet as usual, I check hotmail, youtube and what not, but when I type in facebook, the first site to get indeed on facebook happens but once I like on facebook get on facebook homepage, nothing comes and the window is white. Nothing comes and its been like that for two days. I use facebook as a way to connect with the important people since I use it for networking and its become a problem, these last two days! need help!

    Hello

    1. what browse web is installed on your computer?
    2. don't you make changes to the computer before the show?
    3. what happens when you try to access the facebook?
    4. do you get an error message?

    I suggest you try the steps from the following link:

    Can't access some Web sites in Internet Explorer
    http://support.Microsoft.com/kb/967897

    Note: Reset the Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings.

    If the problem is with facebook, then I suggest you to post.
    http://www.Facebook.com/help/

  • I had Photoshop CS for a while. I use it for one purpose, which is to standardize my bronze products photos, all photos are identical with regard to the composition, lighting, backgrownd, actually, I always place the same scale of assessment pr

    I had Photoshop CS for a while. I use it for one purpose, which is to standardize my bronze products photos, all photos are identical with regard to the composition, lighting, backgrownd, actually, I always place the pillar of satisfaction even scale and then only switch products bronze... a simple task of worm. For this reason I have is no need to upgrade my old version of Photoshop. My problem is that it doesn't work anymore since Windows 10 recently installed in my PC. IO have tried to install it several times but can't. Is anyone out there help me please!

    Activation for CS is closed. Adobe provides you with a free replacement of CS2.

    Uninstall CS

    Go here: Download Adobe Acrobat 7 and Adobe Creative Suite 2 products

    Click English, download Photoshop CS2 and also copy the serial number that comes with it.

    Install CS2 and use this serial number CS2. There no need activation.

    Take your copy of the CS, it is no longer usable.

  • I have a picture in the current folder that I can use to place the image on a page, but it is absent, if I try to hyperlink to it.  How to solve that?

    I use thimbnails which has a link to the expanded images.  I just loaded several file assets intothe images that I can then open and place the image on a page.  However, when I try to hyperlink to this image, the image is not listed in the assets.  Any ideas as to why and how to fix this?

    You should find the forum for any product it is and post your questions there.

    Here is a link to a page that provides links to all of the Adobe forums...

    The Forum links page: https://forums.adobe.com/welcome

  • JavaScript seems to be disabled in your browser... You must have javascript enabled in your browser to use the features of this site... How can I fix it

    JavaScript seems to be disabled in your browser... You must have javascript enabled in your browser to use the features of this site... How can I fix it

    Clear your NoScripts modules.

    Nancy O.

Maybe you are looking for