vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Twitter Feed for 4.2.2 Sidebar? (https://vborg.vbsupport.ru/showthread.php?t=314588)

It's Damn Real! 09-29-2014 06:17 PM

Twitter Feed for 4.2.2 Sidebar?
 
I'm surprised I haven't found anything on this outside of a dated widget that is no longer supported. Has anyone been able to code a simple Twitter feed to plug into a 4.2 Sidebar block?

tbworld 09-29-2014 06:53 PM

Twitter like all of the "social networks" change their API often. If the Twitter modification was not updated this year on vBulletin.org, then of course it will be using the old API. If your not looking for anything fancy you can simply add the twitter feed widget from "Twitter" and insert it into a forum block (sidebar) or cms widget. Most of the API systems change either due to user abuse of the "social networks" resources, or for the "social network" to promote/force limited push advertising to your page.

You will need to pass the Twitter feed widget an ID of the feed you are following. If I understood exactly what you were looking for I could be more helpful. :)

Since there is very little you can modify to receive a feed from Twitter, there really is not a reason to create a vBulletin modification. Although caching, would definitely help if their feed's are rate limited under your defined use.

https://support.twitter.com/articles...-and-following
https://support.twitter.com/articles/160385

:)

It's Damn Real! 09-29-2014 07:04 PM

Basically all I'm looking at is the idea of having my forums' Twitter account/feed populating within a Sidebar block.

Ideally it would be the feed of who the account follows, but even if were simply a feed of what the account tweets, either would be acceptable.

I could show you a simple mock-up version of what I was envisioning, if that helps?

Essentially this:

https://dl.dropboxusercontent.com/u/...itter_Mock.jpg

RichieBoy67 09-29-2014 07:19 PM

You just make the widget using your twitter account. it is very easy. I had it on one of my sites but disabled it because it was slowing down the whole page.

It's Damn Real! 09-29-2014 07:21 PM

Quote:

Originally Posted by RichieBoy67 (Post 2516930)
You just make the widget using your twitter account. it is very easy. I had it on one of my sites but disabled it because it was slowing down the whole page.

And that displays which feed ? tweets made by the account, or the feed from who that account follows?

RichieBoy67 09-29-2014 07:24 PM

There is no way to make it show peoples accounts who log into the site. It will show your feed from your account.

--------------- Added [DATE]1412022305[/DATE] at [TIME]1412022305[/TIME] ---------------

Go into twitter dev and create a widget. Set the colors, etc and then just paste it into a forum sideblock. You can do the entire thing in a few minutes.

It's Damn Real! 09-29-2014 07:32 PM

Much appreciated Richie. I'll give it a whirl later today.

tbworld 09-29-2014 07:48 PM

The more data the better. :)

First, log into your twitter account and review what timeline widgets you can create. Unfortunately, the scope of the widgets are limited but at least there is no rate limiting on the widgets -- I believe.

There are some items on the widget that can be modified. See this page: https://dev.twitter.com/web/embedded...#customization.

If what you are looking for cannot be accomplished via the default widgets, then post your mockup. Make sure it is possible by reading the above customization link I posted above.

There are some more advanced methods a user can use with twitter. JavaScript enhancements and "web-intents", the average user can implement these niceties with very little effort and it would be a first step for basic customization.

Advanced methods, those used in a full blown modification would use the advanced API's which are subject to rate limiting. See ... https://dev.twitter.com/overview/documentation. I have posted this additional information, links for those users that are interested in the subject and that might come across this thread.

--------------- Added [DATE]1412024304[/DATE] at [TIME]1412024304[/TIME] ---------------

Quote:

Originally Posted by RichieBoy67 (Post 2516932)
There is no way to make it show peoples accounts who log into the site. It will show your feed from your account.

In the recent past there was a way to hack the widget and just submit a users ID into the widget, but you are "right", currently it will only work on very old Twitter users. So it is now worthless.

The only method now is through the advanced (REST) API's, which are rate limited, but powerful.

:)


All times are GMT. The time now is 06:41 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01136 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete