* Update README, this ain't smugmug

* Add MonoDevelop solution for (mostly my own) convienence
 * Start planning implementing Facebook Platform JSON support

svn path=/trunk/facebook-sharp/; revision=81758
This commit is contained in:
R. Tyler Ballance 2007-07-11 02:46:59 +00:00
Родитель 808bb03c5e
Коммит 10d3cd1957
4 изменённых файлов: 76 добавлений и 5 удалений

10
README
Просмотреть файл

@ -1,9 +1,9 @@
Last updated: 2006-07-27
Last updated: 2007-07-05
README for smugmug-sharp
README for facebook-sharp
---------------------------
smugmug-sharp is a .NET library that lets you log in to SmugMug and use
their services programmatically.
facebook-sharp is a Mono/.NET library that let's you access the Facebook Platform services
from within a Mono/.NET application or an ASP.NET web application.
You can create albums, categories, upload files and request information.
@ -14,7 +14,7 @@ You can create albums, categories, upload files and request information.
docs/
Monodoc documentation for the library
sample/
example/
Sample programs using the library
src/

47
facebook-sharp.mdp Normal file
Просмотреть файл

@ -0,0 +1,47 @@
<Project name="facebook-sharp" fileversion="2.0" Description="facebook-sharp is a Mono/.NET library that let's you access the &#xA;Facebook Platform services from within a Mono/.NET application &#xA;or an ASP.NET web application.&#xA;&#xA;You can create albums, categories, upload files and request &#xA;information.&#xA;" language="C#" clr-version="Net_2_0" ctype="DotNetProject">
<Configurations active="Debug">
<Configuration name="Debug" ctype="DotNetProjectConfiguration">
<Output directory="./bin/Debug" assembly="facebook-sharp" />
<Build debugmode="True" target="Library" />
<Execution runwithwarnings="True" consolepause="False" runtime="MsNet" clr-version="Net_2_0" />
<CodeGeneration compiler="Csc" warninglevel="4" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" mainclass="" generatexmldocumentation="False" ctype="CSharpCompilerParameters" />
</Configuration>
<Configuration name="Release" ctype="DotNetProjectConfiguration">
<Output directory="./bin/Release" assembly="facebook-sharp" />
<Build debugmode="False" target="Library" />
<Execution runwithwarnings="False" consolepause="False" runtime="MsNet" clr-version="Net_2_0" />
<CodeGeneration compiler="Csc" warninglevel="4" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" mainclass="" generatexmldocumentation="True" ctype="CSharpCompilerParameters" />
</Configuration>
</Configurations>
<DeployTargets />
<Contents>
<File name="./" subtype="Directory" buildaction="Nothing" />
<File name="./src/Mono.Facebook/Album.cs" subtype="Code" buildaction="Compile" />
<File name="./src/Mono.Facebook/Error.cs" subtype="Code" buildaction="Compile" />
<File name="./src/Mono.Facebook/Event.cs" subtype="Code" buildaction="Compile" />
<File name="./src/Mono.Facebook/FacebookException.cs" subtype="Code" buildaction="Compile" />
<File name="./src/Mono.Facebook/FacebookParam.cs" subtype="Code" buildaction="Compile" />
<File name="./src/Mono.Facebook/FacebookSession.cs" subtype="Code" buildaction="Compile" />
<File name="./src/Mono.Facebook/Friend.cs" subtype="Code" buildaction="Compile" />
<File name="./src/Mono.Facebook/FriendInfo.cs" subtype="Code" buildaction="Compile" />
<File name="./src/Mono.Facebook/Group.cs" subtype="Code" buildaction="Compile" />
<File name="./src/Mono.Facebook/Location.cs" subtype="Code" buildaction="Compile" />
<File name="./src/Mono.Facebook/Notification.cs" subtype="Code" buildaction="Compile" />
<File name="./src/Mono.Facebook/PeopleList.cs" subtype="Code" buildaction="Compile" />
<File name="./src/Mono.Facebook/Photo.cs" subtype="Code" buildaction="Compile" />
<File name="./src/Mono.Facebook/Responses.cs" subtype="Code" buildaction="Compile" />
<File name="./src/Mono.Facebook/SessionWrapper.cs" subtype="Code" buildaction="Compile" />
<File name="./src/Mono.Facebook/Tag.cs" subtype="Code" buildaction="Compile" />
<File name="./src/Mono.Facebook/User.cs" subtype="Code" buildaction="Compile" />
<File name="./src/Mono.Facebook/Util.cs" subtype="Code" buildaction="Compile" />
<File name="./examples/GetAlbums.cs" subtype="Code" buildaction="Nothing" />
<File name="./examples/GetEvents.cs" subtype="Code" buildaction="Nothing" />
<File name="./examples/GetFriends.cs" subtype="Code" buildaction="Nothing" />
<File name="./examples/GetUser.cs" subtype="Code" buildaction="Nothing" />
<File name="./examples/InfiniteSession.cs" subtype="Code" buildaction="Nothing" />
</Contents>
<References>
<ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<ProjectReference type="Gac" localcopy="True" refto="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</References>
</Project>

17
facebook-sharp.mds Normal file
Просмотреть файл

@ -0,0 +1,17 @@
<Combine name="facebook-sharp" fileversion="2.0">
<Configurations active="Debug">
<Configuration name="Debug" ctype="CombineConfiguration">
<Entry build="True" name="facebook-sharp" configuration="Debug" />
</Configuration>
<Configuration name="Release" ctype="CombineConfiguration">
<Entry build="True" name="facebook-sharp" configuration="Release" />
</Configuration>
</Configurations>
<DeployTargets />
<StartMode startupentry="facebook-sharp" single="True">
<Execute type="None" entry="facebook-sharp" />
</StartMode>
<Entries>
<Entry filename="./facebook-sharp.mdp" />
</Entries>
</Combine>

Просмотреть файл

@ -48,6 +48,7 @@ namespace Mono.Facebook
private FacebookParam VersionParam = FacebookParam.Create ("v", "1.0");
private string api_key;
private string secret;
private bool use_json;
private static XmlSerializer ErrorSerializer {
get {
@ -64,6 +65,12 @@ namespace Mono.Facebook
this.secret = secret;
}
public bool UseJson
{
get { return use_json; }
set { use_json = value; }
}
internal string SharedSecret
{
get { return secret; }