How Can i upload file automatic with facebook API Develop ASP.NET and C#
Perhaps you need to be a bit more specific, is this web, or a windows ap that your making? Get facebook toolkit http://facebooktoolkit.codeplex.com/ (currently use the beta, the released version has a few "issues" with it)
If you want to automatically do it, its relatively simple, but you need to give facebook authorization to your application, so you need to create a facebook application first. You then need to ask for specific permissions in your C# application, "offline_access" is probably what you want, and probably "photo_upload" this will send it directly to the facebook album (this way you users wont need to ask for permission before allowing it to be published to facebook)
Then follow the guides on microsoft that are on the first link (I can't post more than one link) Some of the examples are a bit out of date but are a good starting point, there is also the forum at codeplex that a lot of devs use. But lets put it this way, its a lot easier than twitter :)