Need some help with Twitter/Blackbird Pie [closed]
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
开发者_JAVA百科Closed 9 years ago.
Improve this questionI'm having a lot of trouble working through the API for Blackbird Pie, especially since their API isn't actually an API but is apparently just a blog.
Here's the API link from Blackbird Pie.
I want to be able to take in a unique tweet link that a user enters into my MySQL database and output them to a page using a query and PHP but I'm not really sure how to go about doing this. Searches just reveal methods for embedding tweets manually which is not what I want.
Thanks in advance.
Pindatjuh makes a good point. So if I'm understanding this your basicly building a twitter feed, but you don't want it to display via json or xml from twitter. You could write a little phpscript to scrape the info and before you throw it into the database have them confirm if the information is correct. If I'm understanding you correctly you might want to check out this scraper for IMDB.
http://web3o.blogspot.com/2010/10/php-imdb-scraper-for-new-imdb-template.html
You could probably modify it to your needs.
One more suggestion is the json feed I wrote. Instead of echoing the output you could throw it into the database.
PHP JSON Twitter Feed Improvement
Hope this gives you somewhere to start! Happy Coding.
精彩评论