Access to Facebook? - c#

As a little learning project, I'd like to make a little app that reads data from a facebook users status updates. It's been done millions of times before, I'm sure, but is there an API or something? Would I need to signup for some Facebook developers license or anything, or is it as easy as finding the API, and then simply coding to it?
I'd like to simply get friends Status Updates via my login... seems easy enough. :)

The Facebook Developer links posted above are good, but it might be useful to look at some examples.
The Facebook C# SDK, found here: http://facebooksdk.codeplex.com/, has samples in ASP.NET MVC. It's a pretty simple project, so it should be relatively easy to see how things work in practice.
You can create an app at http://developers.facebook.com/
Then, download the sample project, replace the AppId and AppSecret with values from your registered app, and see how it works.

You can start reading here: http://developers.facebook.com/docs/
And look in the forum discussions here: http://forum.developers.facebook.net/index.php

This post was helpful to me http://gathadams.com/2007/06/18/how-to-write-a-facebook-application-in-10-minutes/
Also keep in mind this last change made for FB team about Post for canvas http://developers.facebook.com/docs/canvas/post/
Good luck!

Related

How to update content via Google Sites API?

My apologies if this has already been requested/answered before, but I'm having a hard time trying to find information on the web about this. I've been tasked to find a way to directly update the content of a Google Sites page (Such as a text box or image) using the API.
I've been looking about the web for examples of doing this using C#, and have not found much to go by. I have some experience with writing/calling REST and SOAP APIs, but I can't seem to work out what Google uses for its API.
I'm struggling as to how I approach this, as the few examples I have found don't really walk through the code, so they leave me little to understand in order to manipulate it to what I want to achieve. One site I did find was Sites API Demo
Does anybody have any examples, or able to provide a simple example of updating content on a Google Site?
I appreciate any help you can give.
Mark
I realise this is an old question, but I have successfully updated the content of a google sites page using the library provided here, and following the example in the wiki.
I compiled the source as a .dll and added it as a reference to my project.

Reading twitter feed using api 1.1 from c#

Ok. I thought I would fix this rather easy, but I'm not getting anything to work for some reason. What I want to do is simple; I want to create a web part displaying the latest tweets from a specific user. I'm coding C#.
I found a great post here but it's using php.
Can anyone help me to perform this simple task?
You can find alot examples over internet
Web:
http://www.microsoft.com/web/post/learning-the-basics-of-using-the-twitter-api-in-aspnet-web-pages-with-razor-syntax
Console:
http://www.d80.co.uk/post/2011/02/13/A-Simple-Twitter-Client-in-C-with-OAUTH-using-TweetSharp.aspx
:)

PayPal API, finding the right one

I need to add the option to pay with PayPal in my web site.
I would like to have a API where i can send PayPal the information and get back right away the transaction ID so i can save it in my DB.
What API will be best for me? Is there a way to do this? I saw they have this list:
list
Also do you know were i can find good examples for this? my app is ASP.NET c#
I know this a very beginner question, what i really need help with this.
Thank you
EDIT
I started working with something but then found a problem I posted a new question here
question
If all you need is simple Credit Card and PayPal Wallet payments - just use our new Restful Payment APIs - https://developer.paypal.com/webapps/developer/docs/api/
They are much more cleaner and simple APIs to begin with if that's all the payment functionality you need.
You can refer below links:
http://www.codeproject.com/Questions/453595/Paypal-Integration-in-asp-net
http://www.codeproject.com/Tips/474197/PayPal-Gateway-Integration-in-ASP-NET
http://paypaldeveloper.blogspot.in/2009/02/how-to-integration-paypal-with-aspnet-c.html
http://www.dotnetfunda.com/articles/article928-online-payments-using-paypal-integration-with-aspnet.aspx
I hope these links will help you.. :)
There is an up-to-date sample code for PayPal C# api on that page PayPal C# API.
I believe that for beginners integrating with HTML API PayPal is probably the easiest and best way to get started.
This article is slightly outdated, but explains that option along with others in straightforward matter:
Introduction to PayPal for C# - ASP.NET developers
http://www.codeproject.com/Articles/42894/Introduction-to-PayPal-for-C-ASP-NET-developers

Source code to retrieve Google Adsense earnings?

Where to find source code to read google adsense account earnings ? any language welcome especially c#, php.
Update: I still don't have any source code until now that seem to work.
Unfortunately all of the other answers are using either deprecated API or are linking to 404 pages.
Google did release a new management API for AdSense which is well documented:
https://developers.google.com/adsense/management/
Documentation is here It's a very in-depth webservice that allows you not only to get access to reporting, but also create, modify, etc campaigns.
This is an interesting low-tech approach. It's featured on the CURL website. Could be re purposed for your application.
You could use this php library http://code.google.com/p/php-adsense-account-library/

Asp.net webparts or portlet like functionality

What is the best way to let other parties use your website as their own content using their own style ?
We have build a small website for a customer, asp.net, .net framework 3.0. Now the customer wants other parties to be aple to use our website in their own websites while maintaining the styling of the costumers website.
I have done nothing like this before and don't even know what to google, so any help is appriciated.
I know you can do this with sharepoint, but to use sharepoint for such a small site seems like a lot of overkill
it sounds that portlets is a good name for what they want. but googling portlets draws me in the world of java and doesn't give me a lot of info on what the other parties would have to do to make it work.
a simple Iframe would probably take me a long way, but how can you get the styling done within an Iframe
webparts also sound interesting , but they seem more for in project sharing then letting people use them in their own site.
It is a small website and the logic and backend communication is pretty good contained, so a complete rework of the frond-end is not a big problem.
Once again, any help is appreciated !
Omar Al Zabir has a book on how to build a Portal in ASP.NET- here is a link to his Website.
You might want to look at his Dropthings portal.
Yes, portlets are pretty much Java-only, despite any talk of standards.
If you can encapsulate your pages in web parts or user controls, that would make it easy to style them, and even to parameterize them: a web part can be configured.
You can use Kalitte Dynamic Dashboards for creating professional dashboards and portlets.
More information can be found at www.dynamicdashboards.net

Categories