vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Twitter API and OAuth (https://vborg.vbsupport.ru/showthread.php?t=300400)

AndrewSimm 07-24-2013 07:04 AM

Twitter API and OAuth
 
Before twitter decided to retire their API I was able to use a simple twitter widget, add some css and replace the username in the widget with a custom field to allow this to be different on each profile. How is this suppose to be done now since the username is no longer in the code. I have read about oAuth but it still looks like it is authorizing one account.

Ideas?

AndrewSimm 09-01-2013 03:15 PM

bump bump bump

B-runner 09-05-2013 04:14 AM

If I understand your issue, I think what you have to do is sign up for a twitter account and then go to: https://twitter.com/settings/widgets

From there you can create a new widget for each twitter profile.

AndrewSimm 09-05-2013 07:33 AM

Quote:

Originally Posted by B-runner (Post 2443361)
If I understand your issue, I think what you have to do is sign up for a twitter account and then go to: https://twitter.com/settings/widgets

From there you can create a new widget for each twitter profile.

I am trying to avoid that. I want to store the widget in a template and have the username pulled from a custom field. I had this working until they changed their API.

Zachery 09-05-2013 07:51 AM

What exactly do you want to do?

AndrewSimm 09-06-2013 06:53 AM

I have a mod that allows me to create a custom field. Before the updated API I could take a twitter widget which had the username to display in the widget and but that widget in the template with the username being replaced by the field. WIth their new widgets and API I don't see how I can do that,


All times are GMT. The time now is 02:18 PM.

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.00921 seconds
  • Memory Usage 1,719KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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