Comments (4)
Same has me, having same problem for over 4hours.
protected function loadTweetContent()
{
$json = json_decode(Http::get('https://api.twitter.com/1/statuses/oembed.json', function($http){
$http->data($this->getProperties());
})->body);
return $json->html;
}
}
from twitter-plugin.
This might occur when Twitter's API is down, we should add some exception handling to grab it.
from twitter-plugin.
This also uses Twitter API Version 1 which is no longer supported:
https://api.twitter.com/1/statuses/ returns: The Twitter REST API v1 is no longer active. Please migrate to API v1.1. https://dev.twitter.com/docs/api/1.1/overview.
Rather than a Tweet ID, it now takes a tweet URL: https://www.hitchhq.com/twitter/activities/get-statusesoembed-575981a88e2e411000b8e5d4
Updated documentation: https://dev.twitter.com/rest/reference/get/statuses/oembed
Example: ttps://publish.twitter.com/oembed?url=https%3A%2F%2Ftwitter.com%2FInterior%2Fstatus%2F507185938620219395
I would recommend switching over to the new API at the same time as adding extra error handling.
from twitter-plugin.
Closing as it has been over a month since any activity on this occurred.
from twitter-plugin.
Related Issues (15)
- Add instructions/link for fetching Twitter api auth details
- Twitter plugin exceptions in OctoberCMS build 337 HOT 2
- Two Exceptions Occuring with EmbedTimeline component HOT 1
- Twitter Has Changed Their Widget Generation Process - Can No Longer Find Widget ID HOT 7
- Our Twitter timeline now shows 'Tweets by @twitterapi' HOT 5
- Error when setting component params HOT 3
- Hashtags not displaying when using "Latest tweet" component HOT 1
- Integration of TwitterCards would be handsome! HOT 1
- Any plans to add list support? HOT 1
- Can you put a timer between feed calls? HOT 3
- Embedded timelines widget ID info box HOT 5
- More documentation about how to use in octobercms (timeline embedded) HOT 1
- Unable to display a single tweet HOT 3
- Twitter plugin fails when cache set to database HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twitter-plugin.