Comments (14)
Yes i do plan. I don't know yet the structure of the new API, but i guess that i will take care about it on the next 2 weeks.
from social-feed.
no much of change... if not that any endpoint require authentication now :(
from social-feed.
Hello, have you manage to migrate to the new Twitter API 1.1??
Thanks
from social-feed.
Hello, now you can not get data from Twitter, using only javascript - you have to get data on the server side and then extract it via javascript. I have it implemented, but i will put it on github - only in one month or about that. Go to gitbox.ru/social-feed-1.1 - in one week - i will publish a new version there.
from social-feed.
Oh okay, i hear that...
The link you gave me is invalid, but i will check back on here in a week.
Thanks very much
keep up the good work!!
from social-feed.
Hello, How is it going?
have you managed to get the new API working??
Thanks
from social-feed.
I made a plugin for getting twitter posts on the client-side with just JS that you could use for this: https://github.com/slang800/twitterFetcher
from social-feed.
Great, appreciate! I will give it a look and will prepare integration as soon as i have some free time slot.
from social-feed.
I'm also missing twitter in my feed, would love to have this feature re-enabled.
from social-feed.
i will try to re-implement it soon
from social-feed.
@pavelk2: cool! HMU if you need any help using twitterFetcher
from social-feed.
Hey. I've found tweecool which has an API (probably with its own v1.1 authentication) to provide a JSON feed of a twitter users feed. Again this does not support filter for tags, nor handy information like the ID of each post - BUT it gives a authentication-free JSON feed for Twitter.
So I've re-implemented twitter to socialfeed in my own way, using some code I've found from an earlier commit and the URL from tweecool (ex. http://api.tweecool.com/?screenname=google&count=5). To replicate, make sure you re-add twitter to the 'options'-list of social network, then add this block as sibling to the other social network sections of the code:
twitter : function(account) {
var request_url, limit = '&count=' + options.twitter.limit;
switch (account[0]){
case '@':
var username = account.substr(1);
request_url = 'http://api.tweecool.com/?screenname=' + username + limit;
get_request(request_url,getPosts);
break;
case '#':
break;
default:
request_url = 'http://api.tweecool.com/?screenname=' + username + limit;
get_request(request_url,getPosts);
}
function getPosts(json) {
var urlpattern = /(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig;
var i = 0;
$.each(json.tweets, function() {
var element = this, post = {};
i ++;
post.id = json.user.id + '-' + i; // Feed doesn't provide post ID
post.dt_create = moment(element.created_at);
post.author_link = 'http://twitter.com/'+username;
post.author_picture = json.user.profile_image_url;
post.post_url = post.author_link; // + '/status/' + element.id_str; Feed doesn't provide post ID
post.author_name = username;
post.message = element.text.replace(urlpattern, '<a href="$1" target="_blank">$1</a>');
post.description = '';
post.social_network = 'twitter';
post.link = 'http://twitter.com/' + post.author_name; // + '/status/' + element.id_str; Feed doesn't provide post ID
getTemplate(post,json.tweets[json.tweets.length-1] == element);
});
}
},
Also remember to add twitter settings to your "index"-file or wherever you initiate the script. At least this is one way of having Twitter back in the social-feed script... Enjoy!
from social-feed.
@sigurdsn, thank you very much for your solution
As the tweecool is quite limited (no images, no search by hash-tags), I kept searching for alternatives and finally found https://github.com/jublonet/codebird-js. Thanks to this library, now we have twitter supported back at SocialFeed.
Please check the latest update
885a7db
from social-feed.
Hey! That looks awesome - congrats on re-implementing it to SocialFeed.
from social-feed.
Related Issues (20)
- VK not working HOT 1
- Facebook Graph now v3.0 - tokens no longer working HOT 8
- 2 or 3 different accounts by social network HOT 4
- Instagram feed not showing
- Facebook problem - how to solve this? HOT 6
- Facebook stop working HOT 2
- Is there any way to add width and height to the images get from socials? HOT 1
- twitter stop working again
- Twitter profile pics donβt show up in firefox HOT 1
- Facebook Feed are not showing HOT 1
- RSS Feeds Not working Due to Retirement of query.yahooapis.com HOT 2
- PlugIn not working
- 404 Error in Console HOT 1
- Facebook Plugin noy working HOT 2
- Known Issues and how to fix them HOT 3
- Social Feed example demo - Feed empty HOT 2
- Not showing Twitter image if more than one image added to tweet HOT 1
- No working demo (CODEPEN) example out there for this library. Working -or- not?
- masonry style CSS twitter feed aggregator
- Version for TYPO3 11/12
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 social-feed.