You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, we've installed the plugin and configured it to connect up to the X account. We've connected/authenticated successfully and are seeing the source listed as "Provider Configured" and "Connected".
Unfortunately, despite following the documentation, our posts array comes back empty. Additionally, setting up a feed and using the "Load Posts"/preview functionality also doesn't show any posts.
Here's the code we're using:
{% set xPostsSource = craft.socialFeeds.getSourceByHandle('xTwitter') %}
{% set xPosts = xPostsSource.getPosts() %}
{% for post in xPosts %}
ID: {{ post.id }}<br>
Content: {{ post.getContent() }}
{% endfor %}
Just wanted to ask if there's anything we're missing. Any help would be much appreciated! Thanks!
Question
Hi there, we've installed the plugin and configured it to connect up to the X account. We've connected/authenticated successfully and are seeing the source listed as "Provider Configured" and "Connected".
Unfortunately, despite following the documentation, our posts array comes back empty. Additionally, setting up a feed and using the "Load Posts"/preview functionality also doesn't show any posts.
Here's the code we're using:
Just wanted to ask if there's anything we're missing. Any help would be much appreciated! Thanks!
Update:
Using the same API credentials in Postman, we were able to successfully retrieve the 10 most recent tweets from a specific account. We used the following endpoint URL:
https://api.x.com/2/users/:id/tweets
(documentation: https://developer.x.com/en/docs/x-api/tweets/timelines/api-reference/get-users-id-tweets)Additional context
Craft CMS v4.8.0
Social Feeds v1.0.9
The text was updated successfully, but these errors were encountered: