Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-29-2014, 06:17 PM
It's Damn Real! It's Damn Real! is offline
 
Join Date: Mar 2011
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 09-29-2014, 06:53 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Reply With Quote
  #3  
Old 09-29-2014, 07:04 PM
It's Damn Real! It's Damn Real! is offline
 
Join Date: Mar 2011
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:

Reply With Quote
  #4  
Old 09-29-2014, 07:19 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 09-29-2014, 07:21 PM
It's Damn Real! It's Damn Real! is offline
 
Join Date: Mar 2011
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RichieBoy67 View Post
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?
Reply With Quote
  #6  
Old 09-29-2014, 07:24 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 09-29-2014, 07:32 PM
It's Damn Real! It's Damn Real! is offline
 
Join Date: Mar 2011
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Much appreciated Richie. I'll give it a whirl later today.
Reply With Quote
  #8  
Old 09-29-2014, 07:48 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 View Post
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.

Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:26 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04399 seconds
  • Memory Usage 2,231KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete