Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Facebook and PHP

Featured Replies

I'm not an expert on Widgets, but the FaceBook comment-widget sees both URL's

as different addresses (while they actually point to the same page).

When you right click the widget and have a look at it's properties, you will

see that one has a parameter-list like:

[...]&xid=http%253A%252F%252Fwww.teetradio.com%252Findex.php[...]

...while the other has:

[...]&xid=http%253A%252F%252Fwww.teetradio.com%252F[...]

so both effectively have a different XID. :unsure:

I'm not sure how you can force the widget to use the same parameter-list for

both "Addresses" (you could use frames to force it, for instance), but like I

said, I never work with FaceBook (or widgets in general), so I can't be of

real help here, sorry. :no:

Also inspect your code, since there are a few errors in it; the first one being

somewhere at the top:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<!-- Fav Icon for Page -->
<LINK REL="SHORTCUT ICON" HREF="http://www.teetradio.com/home.ico">
<!-- END of Fav Icon for Page -->

<style>
<!--
p{font-family:arial,sans-serif}-->
</style>
</head>
[...]
</head>

(There are 2 </head>-closing tags...) :whistle:

Greetz,

Peter.

  • Author

Thanks for reporting the two closing tags.

When you right click the widget and have a look at it's properties, you will

see that one has a parameter-list like:

I dunno how can I see that?
I dunno how can I see that?

Exactly like I said :whistle:

post-277568-128087804948_thumb.png

Now, don't ask me how to resolve your problem, I can only tell you

what's going wrong :hello:

Greetz,

Peter.

  • Author

Thanks :D

I've tried it using IE8

but, Is there anyway do see this info using Firefox?

There isn't any real need to have to see the problem with another type of browser

(but I'm sure you could do the same with FireFox), you'll have to find a way to

fix the problem. :unsure:

Somewhere in the php-script there must be something that links to this FaceBook

widget; you simply have to force this piece of code to always use the same xid

or you could use a workaround with, for instance, frames, where you put the code

containing the widget is in a certain frame that doesn't change addresses, whether

you're using only the domain-name or a URL including the document-name. :rolleyes:

Just to give you a general idea about using frames:

  • Rename index.php to index1.php
  • Create a new page, named index.html, with this code:
    <frameset rows="*,*" border="0">
    <frame name="main" src="index1.php" frameborder="0">
    </frameset>


  • Make sure the server defaults to an index.html-page if an index.php-script
    could not be found OR use this PHP-script instead (saved as index.php):
    <?php
    echo '<frameset rows="*,*" border="0">'.
    '<frame name="main" src="index1.php" frameborder="0">'.
    '</frameset>';
    ?>


  • Test

Greetz,

Peter.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.