Upload image to an album and collect likes from users - c#

I need to build a simple C# application that will upload images into a Facebook album and collect the number of likes and by which users.
I am using .NET Framework 3.5 with Facebook 6.0.20
Any help is really appreciated and if someone can also give me a link for a tutorial but I need one that is not old as I have noticed some classes seem not to be working in the current version.

You need to use the Facebook Graph API. You can download it from Facebook's developer page.
Here is a tutorial.

Related

Sharing opengraph story using FB.Feed

I am trying to figure out how to publish opengraph stories using FB.Feed in Unity3d. We are using the Unity Facebook SDK version 6.2.2.
According to the Facebook docs it is possible to utilize the share dialog to post custom opengraph stories.
https://developers.facebook.com/docs/sharing/opengraph/ios#sharedialog
I know it is possible to post stories with FB.API, but that requires extended permissions from the user, which is not something we want to ask for.
Does anyone have a C# code snippet showing how to use the FB.Feed function to post opengraph stories (including metadata and an image)?
Thanks for your kind help.

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.

Framework to create a community in ASP.NET

I received an assignment to develop a community to a club with about 1,000 members. Members shall be able to keep in touch, post pictures/movies and read about/register for events the club arranged.
I am looking to develop this in ASP.NET as it is what I know best (is it a wise choice?). I wonder if you could recommend any FREE framework or guide I can start from when I create the community.
There is an ASP.NET project based on BlogEngine.NET, YAF, ScrewTurn wiki - which may be useful although I do not think there's any OOTB support for events: http://sueetie.com
Check out Microsoft's Club Site Starter Kit
A starting point for creating a web site for your club or organization. Includes a news > posting, calendaring, member directory, and photo album systems.
Create news announcements and news
articles with photos or links to a
photo album. Create and view
Membership lists of club members.
Create photo albums and share the
photos from your club activities.
Download the Club Web Site Starter Kit
Download Generic Scripts for SQL Server 2000 & MSDE
Download the Event Calendar Control
View Discussion Forum
Would that be something you could use?
You could either use:
DotNetNuke, Umbraco, MojoPortal or the likes - most of the code is already written, but creating new modules/features is not that easy/simple.
n2cms, Project Orchard - were made just to be especially to extend, although they have less built-ins.
you can use open source DotnetNuke Content Management System

Facebook Graph API: Inferior permissions

I had a great idea for an application, so I started checking out what the graph API had to offer. Then I've found out that it doesn't have access to large swathes of information that I can freely access on the website. I've got all the access token stuff working fine, it just appears that the Graph API doesn't have access to a lot.
On the website, there are more than 100 photos of me tagged in the last year. With the Graph API I can only get around 20. Most photos posted by my friends are missing.
So if I still really want to do this, what are my options? Guessing scraping is against the TOS?
UPDATE
This link appears to have a response to a user with the same issue. Apparently its a privacy issue...
There's an answer here (about paging limits and offsets) that might be useful if your problem is related to default paging sizes in the Graph API.

Getting iTunes current track information in C#

How do applications like Google Talk and the Last.fm desktop client access iTunes to get the current track that is playing? Is there a library to do this? I am wanting to make an application in C# that posts song information to my website. Any help is greatly appreciated.
UPDATE
I have some sample code over here to do this in C# using LinqPad
https://stackoverflow.com/a/18246137/215752
Here you go : http://developer.apple.com/sdk/itunescomsdk.html
You need to register with apple of course.
Here is a link to some example code using C# and this COM API. There is also a brief "how to":
http://www.ohscope.com/2009/04/itunes-com-api-in-c.html

Categories