As an experiment I'd like to set up a coldfusion page that will pull and display the status updates from my own facebook account and twitter accounts that fall within an input date range; similar to tools like
http://orsiso.com/
http://www.threadsy.com/
and http://www.davidcramer.net/lifestream
I assume this will involve working with the facebook and twitter apis, which I have some experience with when working with mobile apps; but I've never tried to do something like this with a coldfusion page before. Eventually I'd like to pull other things like images and such, but for a first test just status updates is fine. Does anyone have sample code and/or pointers that could assist me in this endeavor? Thank you very much in advance.
Edit: I'm interested in a variant of this idea involving a database, and I've opened up a new question regarding such: Pulling facebook and twitter status updates into a SQL database via Coldfusion Page
In addition, you should check out RIAForge, which has CF code to handle both Twitter and Facebook APIs.
For Twitter see this..
http://www.stephenwithington.com/blog/index.cfm/2009/3/4/Use-ColdFusions-CFFeed-to-Display-Your-Twitter-Tweets-and-more-on-Your-Blog-in-30-Seconds
Have a look at this coldfusion wrapper for the twitter API here, really easy to set up and grab the data from your twitter feed.
I also use the twitter4j library to access my twitter account on my coldfusion site, I followed the tutorial here to get started.
Related
I currently need to collect pictures-comment (someone comment by pasting a picture) from facebook page group
I have done some research and find that
1.Support for this hasn't yet been added to the Graph API and as with many of the other messaging APIs, it's currently only avaialable for testing (i.e you must be a developer of the app to use it presently)
from
View attachments in threads
2.You have to use the old php SDK until graph supports attachments
from
Posting Attachment Facebook Graph API
could any one provide some codes to me?
I need to know
Are the two approaches really works?? If yes, then... If no, I guess i will need to write/find a crawler (but it again sounds difficult as facebook group page is dynamic web)
What should I do if I want to follow 1st approach?
Should I register as developer and set up an app and...? (I have no experience in setting up facebook app and would appreciate any useful step-by-step tutorial)
If I am going the 2nd approach (php SDK), are there are tutorial as I have no idea what should I do next.
I know java, c++ and little js but facebook apis are something really new to me.
Really appreciate any help.
I'm building a site for a non-profit festival where we'd like to have a 'media' page which brings in photos from instagram (hashtag search), updates and photos from Facebook (via festival's albums) twitter posts (by user and hashtag).
I've tried the JS widgets for Facebook and Twitter but wondered about using PHP/Codeigniter to pull the feeds and caching them somehow for better performance and more control over the look.
Would it be best to then store the feed data in a json file on the server or in a MySQL record?
I'm leaning toward a table with a record for each feed that would basically just store the feed URL, JSON, last updated time and an identifier of some sort.
Then I could write a class with the following type of methods:
get_feed($id='facebook_updates', $expiry_time=3600);
Does this seem like a reasonable way to go? or is there a better solution already existing?
I'm not quite sure how I'd work that in with the feeds that need Auth (twitter & Instagram)
bro!
First, it does seem a reasonable way to do it and I don't know any better.
But, if I had to accomplish that, I would break my problem in two:
A server side code to grab the info from the services (that I would
probably store as json so that I could use the info returned
directly) running with cronjobs from time to time.
A client side (server would work too) one to show that info with
customized style.
To work with the feeds that need auth, you'll have to create an app in each of them, authorize it to access your personal account and use it in the code. Never worked with Instagram but the others have good documentation on how to do that.
Finally, with some modification, you may be able to use this wonderful too to help you accomplish your task: http://plugins.in1.com/socialist
I want to use Facebook's PHP SDK to create/update/cancel events on our Facebook Page, whenever they are added/modified/deleted within the "calendar of events" database table on our web site.
Where do I even begin with this? I have the SDK installed, but I am having a really hard time figuring out how to register my own custom app and install it to my Facebook user account. I did manage to get an App ID and App Secret, and I also created a minimal canvas and indicated which persmissions the app needs. But, for the life of me I can't figure out how to install the app on my FB user account.
I don't want to make the app available to others, and I don't even want to access it while I'm logged into Facebook. I just want to be able to do something like $fbapi->createEvent() within my own code on my own site.
Also, do I need to have an authenticated Facebook user session/cookie when calling the API to create the event? It seems to me that would eliminate the possibility of creating events via a command-line PHP cron job.
I feel like I am understanding bits and pieces of this, but there are gaps in my understanding and I'm not seeing how all the pieces fit together. Any direction would be immensely appreciated!
First play around with the Graph API Explorer https://developers.facebook.com/tools/explorer so you can understand better how the Graph is used. From there you can then learn about the PHP SDK http://developers.facebook.com/docs/reference/php and how to do the same things you did with the explorer tool. Events are here documented here: http://developers.facebook.com/docs/reference/api/event/
I am trying to create a bookmarklet to process some Facebook data about my contacts, what will possibly require to load another profile pages and see who my friends are.
I am trying to know which urls should I query to get this information. And also how to interact with FB's UI libraries and/or elements.
Is there any documentation for this?
You probably are looking for Facebook JavaScript SDK.
Here is documentation on the FB.ui(): http://fbdevwiki.com/wiki/FB.ui
EDIT: it's updated by user contributions and lately it hasn't been changed much
I have experience of integration of facebook and twitter api. But Its just feed post.
I want full Facebook application which shows friends list their messages and events.
And i want same thing for twitter and linkedin.
If any body have idea or code for this please give me link or post that.
Thanks
the API for Linkedin You can refer this :
http://developer.linkedin.com/thread/1169?tstart=30
You can use UIWebView to load twitter and facebook. It will let you exploit the entire functionality offered by these two Social networking sites. Though It's not impossible to build an application the way you want it to be but using webview will save your time as well as efforts. Since you are already aware of the FB and twitter integration so I am sure you are already aware as to what all we can do from iPhone application..viz.. Setting Status, reading POSTS etc.. I am not quite sure about Linkedin.. Just in case if you come across any solution for this let me also know about that.