+ Post New Thread
Results 1 to 7 of 7
Web Development Thread, Scrit not working at school : OK at home.... in Coding and Web Development; We have a twitter feed on our Moodle site. The code is: <script src="http://widgets.twimg.com/j/2/widget.js" charset="utf-8"></script> <script> new TWTR.Widget({ version: 2, ...
  1. #1
    kennysarmy's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,286
    Thank Post
    80
    Thanked 45 Times in 31 Posts
    Rep Power
    30

    Scrit not working at school : OK at home....

    We have a twitter feed on our Moodle site.

    The code is:

    <script src="http://widgets.twimg.com/j/2/widget.js" charset="utf-8"></script>
    <script> new TWTR.Widget({

    version: 2, type: 'profile', rpp: 6, interval: 30000, width: 'auto', height: 300, theme: { shell: {

    background: '#2e1b9e', color: '#fafafa' }, tweets: { background: '#fcfcfc', color: '#030003', links:

    '#1c1073' } }, features: { scrollbar: false, loop: false, live: false, behavior: 'all' } }).render

    ().setUser('BalcarrasPR').start(); </script>

    When browsing our moodle from home or if I embed the code in a simple page it works fine.

    HOWEVER

    At school the code just gives a basic twitter box with no tweets....

    I created a simple page with the code and have tested with IE, Chrome and Firefox and all do the same....

    Any ideas?

  2. #2


    Join Date
    Jul 2007
    Location
    Rural heck
    Posts
    2,662
    Thank Post
    120
    Thanked 434 Times in 353 Posts
    Rep Power
    126
    I've just had a little play, for me it work if I activate my stafff unfiltered but not otherwise.

    Probably best to log a call with SWGfL.

  3. #3
    kennysarmy's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,286
    Thank Post
    80
    Thanked 45 Times in 31 Posts
    Rep Power
    30
    I tried using firefox and checked the error console...
    These were the errors:

    Error: syntax error
    Source File: Filtered by the SWGfL Web Filtering
    Line: 3
    Source Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    Warning: Unknown property 'zoom'. Declaration dropped.
    Source File: http://widgets.twimg.com/j/2/widget.css
    Line: 1

  4. #4
    kennysarmy's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,286
    Thank Post
    80
    Thanked 45 Times in 31 Posts
    Rep Power
    30
    "Error: syntax error
    Source File: http:// filterpages.filtering.swgfl.org.uk /5637/13/16792.asp?d=200&p=5656&t=430814&u=http%3A%2F%2Fapi .twitter.com%2F1%2Fstatuses%2Fuser_timeline.json%3 Fscreen_name%3DBalcarrasPR%26callback%3DTWTR.Widge t.receiveCallback_1%26include_rts%3Dtrue%26count%3 D6%26clientsource%3DTWITTERINC_WIDGET%261329994279 661%3Dcachebust
    Line: 3
    Source Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> "

  5. #5
    kennysarmy's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,286
    Thank Post
    80
    Thanked 45 Times in 31 Posts
    Rep Power
    30
    Thanks.

  6. #6
    kennysarmy's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,286
    Thank Post
    80
    Thanked 45 Times in 31 Posts
    Rep Power
    30
    I tried on our staff unflitered proxy and it still did nt work
    I've logged a call with SWGfL anyway

  7. #7

    Join Date
    Nov 2011
    Posts
    163
    Thank Post
    24
    Thanked 21 Times in 17 Posts
    Rep Power
    11
    If you go to - http://widgets.twimg.com/j/2/widget.js

    Does it download/show you the javascript file?

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 7
    Last Post: 31st August 2011, 12:43 PM
  2. Windows Media player - why will it work at home but not at work?
    By speckytecky in forum Internet Related/Filtering/Firewall
    Replies: 5
    Last Post: 12th October 2010, 03:35 PM
  3. Replies: 4
    Last Post: 20th July 2010, 04:13 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •