Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Embed Twitter Feed into InDesign for Publish Online?

Community Beginner ,
Jun 08, 2017 Jun 08, 2017

Hello all,  I've been trying to find any information I can about how to embed a Twitter timeline feed (using the embed code from Twitter Publish).  I can easily embed a YouTube video or Google Map or Facebook profile, using the respective embed codes from those sites, but haven't figured out how to use the Twitter Publish embed code.

When I use Object/Insert HTML, it makes a box that includes the text from the code for the link--(The "Tweets by TwitterDev" part in the below embed code sample) but then does not include the widget information at all, and nothing appears when I look at the EPUB Interactive Preview or when I Publish Online and check out the final page. 

<a class="twitter-timeline" href="https://twitter.com/TwitterDev">Tweets by TwitterDev</a> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>

Is there a way to get the Twitter timeline feed code to work, and if so, is there a step-by-step guide for me to follow?

Thanks very much and have a great day!

3.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Jun 12, 2017 Jun 12, 2017

Hi kristinp,

This is an expected behavior when you embed tweet it will only pick text and links, as shown in above screenshots.

Here is the original tweet.

tweetoriginal.png

and this is how it looks on Publish Online.

tweet7.png

However it will be good suggestion which you can mark. Please share you suggestion here Feature Request/Bug Report Form

Regards

Srishti

Translate
Adobe Employee ,
Jun 09, 2017 Jun 09, 2017

Hi kristinp,

Open Tweet

Click the Click the icon located within the Tweet icon located within the Tweet

tweet1.png

From the menu, select Embed Tweet.

tweet2.png

Then It will give you a code , Please copy the highlighted code

tweet3.png

Open InDesign Document,  click Object>Inset HTML

tweet4.png

Paste your code here, click OK

tweet5.png

It will look like this

tweet6.png

Then Publish Online,

tweet7.png

Regards

Srishti

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 12, 2017 Jun 12, 2017

Hello Srishti,

Yes, I followed those exact methods last week when trying to get it to work by myself--both with a twitter feed and an individual tweet. I can get the embed code to appear to look like it works normally in EPUB Interactive viewer (see below images. The Twitter timeline feed looks more normal than the single tweet), but when I hit Publish Online, it's not consistent with appearance. Sometimes the pages appear totally blank in Publish Online, and sometimes it's just the hyperlinked materials from those embed codes that appear.

Screen Shot 2017-06-08 at 1.21.46 PM.png

Screen Shot 2017-06-08 at 1.26.18 PM.png

But here's the final "Publish Online" version: https://indd.adobe.com/view/65d13262-df13-4331-aa15-88460620ab1e

As you can see, pages 3 and 4 where the twitter pages should be hold only the hyperlink to the timeline feed on page 3. I'm stumped as to why it looks like it'll work in EPUB, but not when I fully publish it online. 

Also, why does the single tweet embed only include the text and hyperlinks and not the full tweet image as well (with the handle and follow button and reply/quote/like buttons)?  Why does it not look like the Preview image of the tweet that is shown in that window where you get the embed code when it's Published Online? 

Thanks very much for your time and help!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jun 12, 2017 Jun 12, 2017

Hi kristinp,

This is an expected behavior when you embed tweet it will only pick text and links, as shown in above screenshots.

Here is the original tweet.

tweetoriginal.png

and this is how it looks on Publish Online.

tweet7.png

However it will be good suggestion which you can mark. Please share you suggestion here Feature Request/Bug Report Form

Regards

Srishti

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 06, 2018 Dec 06, 2018

Hi, sorry I know this is an old thread but how did you embed a Facebook profile into your indesign document please?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 06, 2018 Dec 06, 2018

Hi Louise!

It's been a long time since I've had to think about this so I re-opened my file I was playing around with this in.

First, go here: https://developers.facebook.com/docs/plugins/page-plugin/

On this Plugin Page, scroll down to where it asks for the "Facebook Page URL" and enter the URL you want.Screen Shot 2018-12-06 at 2.30.40 PM.png

Then click on the blue "Get Code" Button.  That will open up this pane:

Screen Shot 2018-12-06 at 2.30.50 PM.png

Click on the "iFrame" tab.  That's the HTML code you'll want.  That'll look like this:

Screen Shot 2018-12-06 at 2.31.27 PM.png

Copy that code.

Now, go into InDesign and draw a box.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 06, 2018 Dec 06, 2018

(sorry, I hit "add reply" too soon.)

Once you have copied your iFrame code, go into InDesign and draw a box. Go up to "Object/Insert HTML" and that will open up an "Edit HTML" widow.  Paste the HTML code into that "Edit HTML" box.  This will start a new blank box (where it says "This is arbitrary HTML".  Hit "OK"

Screen Shot 2018-12-06 at 2.31.43 PM.png

That should pull up a screen cap of your Facebook Profile into that new box.

Screen Shot 2018-12-06 at 2.35.47 PM.png

You can move that box with the Facebook Profile where you need to on the page and re-size the box and the image inside as needed.  Then you can see that it works on the EPUB Interactive Preview.

Screen Shot 2018-12-06 at 2.36.17 PM.png

Then hit "Publish Online" and it should work!

That should also work with any YouTube or Google map you might want to embed. You'll just have to got to Youtube/Google and grab their embed code and then use Object/Insert HTML to get them to work.  Hope that helps! 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 06, 2018 Dec 06, 2018

Thanks so much for getting back to me quickly. This has been puzzling me all day.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 07, 2018 Dec 07, 2018
LATEST

You're very welcome! Best of luck with your projects!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines