开发者

Twitter Timeline through Expression Engine

Can anyone help me integrate Twitt开发者_如何学Goer through Expression Engine. I am new to expression engine and I have tried to follow the example the Twitter Timeline developed by the EE team but couldn't get it working.

Can anyone help me with step by step process in EE2?

Thanks


Using the example from the Twitter Timeline Plugin download page, insert the following code into one of your ExpressionEngine templates:

{exp:twitter_timeline screen_name="ladygaga" limit="3"}
    <div class="tweet">
        <div class="date">{created_at format="%m-%d %g:%i"}</div>
        <div class="author">
            <div class="icon">
                <img src="{profile_image_url}" width="48" height="48" alt="" />
            </div>
            {name}
        </div>
        <div class="status">{text}</div>
    </div>
{/exp:twitter_timeline}

Note: The plugin only works on public Twitter feeds, so make sure that the feed your trying to display is not private. For this example, I'm using Lady Gaga's twitter stream.

All error messages are logged in the Template Parsing Log.

Therefore if you have no output, or unexpected output, enable the Template Parsing Log in the Control Panel's Output and Debugging Preferences at: CP Home > Admin > System Administration > Output and Debugging.

Twitter Timeline through Expression Engine

Reload the page in your browser and look through the Template Parsing Log for information from the Twitter Timeline:

Twitter Timeline through Expression Engine

If you still can't get the Twitter Timeline plugin to work, post a description of your problem to the ExpressionEngine 2 Technical Support Forum — they'll be able to better help troubleshoot your issue.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜