How can I see which channel users who log in to my website with a Twitch account subscribe to?

Currently, you cannot use the Twitch API to view another users subscribed channels.

You can get a list of your own channels subscribers using the Twitch API. My plugin plugin supports this in very basic ways right now. Work was being done in this are over January/February 2021 and features that will use subscriber data are planned.

Sync Trigger: Visitor opening WP profile view

When a visitor goes to the WP core profile view, synchronizing will be triggered. Subscription syncing is likely to always be an active part of the process due to how important it is.

Uses

TwitchPress_Systematic_Syncing->sync_user()

File

twitchpress/includes/classes/class.twitchpress-sync.php 

PHP Line

add_action( 'profile_personal_options', array( $this, 'sync_user_on_viewing_profile' ) );  

Data Synced

  • Twitch subscription plan for the current user or requested user when an administrator is viewing a visitors profile.
Why was a Pro-Upgrade created?

Why was a Pro-Upgrade created?

Today I had to remind myself, why I decided on a separate professional-level upgrade that would contain many add-on features. This thought came to me when I begun working on the TwitchPress Pro Extension, an improvement in how the pro files are management. I realized others may wonder why all TwitchPress work doesn’t go into the open-source plugin on WordPress.org and I seek backing for that plugin.

My Reasons

I wanted to blog my reasons for a pro-edition, for the record. In short, there must be a reward for backers/contributors and a clearly defined and separated road-map within development is the easiest reward I could come-up. It is also an easy reward to keep giving in the form of updates.

I also felt many of my backers would appreciate access to additional WordPress tools that aren’t accessible to the entire Twitch.tv community. I can’t realistically guess how many streamers feel a strong sense of competition but I do believe streaming is a serious enough hobby to have ambitions that require an edge. Popular streamers define themselves in a way that clearly sets them apart from others and I offer just one of many additional tools to do that. By spending additional hours on creating features only giving to those who are willing to support the project, not always with money either.

I can assure everybody that the pro-upgrade features would not be created and released within the core plugin without some level of commitment by the community to support me back. One of the most important thing I have learned over the years is where to draw the line on giving to a community especially when support is a factor, that can get messy and can be time-wasting on a monthly basis.

Balanced Model

I have mentally-wrestled for many hours (in total) over the project-model I should use to provide all of my open-source work (not just TwitchPress), reward backers and raise funds to cover costs. Over the years I tried various approaches, but finally arrived at an open-source and crowd-funded model that suits me.

My model takes professional practices into great consideration i.e. version control, GitHub, transparency, ethics, responsibility and support. Altogether this is a massive undertaking considering I am not paid for this – any money contributed to the project barely covers my costs while managing it. My approach is a balance between open-source contribution to the WordPress community and a more restricted pro/private area within development for Twitch.tv streamers themselves, who may not be developers.

Shortcode Not Working -Shortcode Showing Instead of Content

Shortcode Not Working -Shortcode Showing Instead of Content

While testing many short-codes all at once I run into a self-made problem that could happen to anyone. When pasting shortcodes the WordPress block-editor applied code-blocks automatically. This happened on multiple pages I was creating quickly and on visiting the front-end I found none of the short-codes worked.

Example of a WordPress shortcode in a code-block.

You can tell the shortcode in the image is in a code-block because it has an outline. If you see this on your site, you need to remove the code-block and try again.