Follow these steps to configure YouTube for Social Feeds.
Google requires your Craft install to be on a public domain with SSL enabled. However, you can test out functionality by using the Proxy Redirect URI setting. What this does is modify the URL for the redirect to Verbb servers, to redirect back to your install.
For example, you might have a Redirect URI like the following:
Using this URL for Google won't work, as it'll detect
.test is a non-public domain name. Using the Proxy Redirect URI will change the redirect URL to be:
Here, it routes the request through to our Verbb servers, which forwards on the request to the URL in the
return parameter (which would be your local project).
Twitter provides the following types of content as posts.
To search for videos, you'll need to provide search terms as a query string for the ultimate level of flexibility. These follow the YouTube API (opens new window) docs.
Some example search terms are:
q=How to make a Pixel and Tonic drink&order=viewCount
|Find videos for making a Pixel & Tonic cocktail, ordered by views.
q=Funny Cat Videos&publishedAfter=2022-06-30T00:00:00Z
|Find funny cat videos published after June 30th, 2022.