Here's what I want to do - I want to be able to twitter to a box on the portal - and I want for members to be able to follow the forum twittering, and twitter back - so it will show up right on the front page.
Can that be done?
QT
Please read the Posting Guidelines.html (http://www.tinyportal.net/index.php/topic,581)
The concepts involved in importing Twitter data are here (http://apiwiki.twitter.com/). Since I haven't a clue about Twitter itself, I wouldn't be able to help you develop anything about it for TP. But if you figure it out, please come back and post it for others.
It would seem the "user_timeline" and "friends_timeline" part of the REST API could be used, as it would follow the one account and its friends/followers respectively.But it returns the result in xml/rss/json format so some coding to output that would be needed.
I have too many projects going on right now to look into it, but it seems interesting to add some of this to TP in the future.
could a person not use RSS?
Hi reddragon300,
You could use an RSS block to get a feed from any Twitter page, no problem. As far as being able to Twitter to and from your Forum, and enable others to Twitter on your Twitter page, it seems to me that there would be some security issues with that. Do you really want every spammer in the World to be able to Twitter on your own Twitter page? Or are you talking about getting a feed from every Twitter user on your site into their own block?
Like I said, you can get the RSS feed from any Twitter page you want to and place it into a block on your site. If you want to see what I mean, have a look here at my test site ...
http://talesofthehavenexpanse.com/smf1test/index.php
Scroll to the bottom of the Front Page and you'll see the RSS feed from Bloc's Twitter page. If I had a Twitter page, I would have put my own feed in there, but I don't.
ZarPrime
Oh... sorry I didn't read close enough.
I run a website for an actress. I just wanted to display her tweets. I ended up importing the twitter widget.
There doesn't seem to be a way to limit the number of tweets when using the RSS block... does anybody know a way to limit the block size or limit the number of tweets to the last 5, or 10 or whatever?
That is something you have to ask the Twitter crew, RSS is just fetched and read by TP as it comes from the site you yake the feeds from.
You can try to use some of the RSS feeds converters on the net and that way limit posts etc, Google on RSS feed to java or similar to find out how it works :)
I used feedburner. The problem with that is that feedburner doesn't like twitter and even though the twitter feed validates, feedburner blocks twitter feeds. So I had to make a php script to grab the twitter feed:
readfile("http://twitter.com/statuses/user_timeline/#######.rss)
and then have feedburner point to the script. Thanks to a suggestion I found here in another thread, I used Buzzboost in feedburner to limit the number of tweets :)
Great, will set this topic to solved :up: