Tweet for track and iframes

Jack's Avatar

Jack

08 Mar, 2011 09:48 PM

Is it possible to use the tweet for track code in an iframe? I'm trying to use it in an iframe and then using fancybox but am having limited success!

I have it up on a demo page now (http://forey.es/indexxx.html) and it works half the time but only when you're already signed into twitter. I have the code successfully installed on forey.es/tft and that is the iframe src.

I'm a complete novice so any help would be appreciated.

  1. Support Staff 1 Posted by Jesse von Doom on 11 Mar, 2011 06:07 AM

    Jesse von Doom's Avatar

    Hi Jack,

    You're probably seeing issues because of the OAuth process — if the
    user isn't signed in I believe Twitter would force a new window for
    security sake. So it's probably not possible to build the app entirely
    within an iFrame...but you might have better luck opening that same
    fancybox, letting it shift to twitter in a new window, then taking the
    callback...might be a little too much customization though.

    jvd

  2. Tracy closed this discussion on 17 Mar, 2015 05:02 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac