Display a Facebook Page's activity feed on a webpage - c#

I'm having problems displaying a Facebook feed on a webpage. The purpose is to display the feed of a Facebook Page (http://www.facebook.com/kvaernerasa) on an external page, but I'm missing something.
First of all, I'm using Facebook's own "generator" to create the activity feed box:
http://developers.facebook.com/docs/reference/plugins/activity/
It asks for a domain (http://www.kvaerner.com)...and then what?! I want the feed for a Page, so there is no app id. How will it know what feed I'm asking for? I also need the feed to be displayed without requiring that the users are logged in.
I've managed to display the RSS feed (not styled), but would prefer to use Facebook's own plugin. What am I missing here?
Is the Like Box, as mentioned by TommyBs, the only other option? How have other sites implemented this?

"The Activity Feed plugin shows users what their friends are doing on your site through likes and comments" That's the description from FB. To me that means it doesn't show native facebook page feeds, just information relating to the pages on your site so I don't think it's what you're after
I think what you want is the like-box
https://developers.facebook.com/docs/reference/plugins/like-box/

Related

read twitter user timeline without authentication in c#

I have website had built by using ASP.NET c#, my website contains page called my tweets page to display all my tweets from my account on twitter.
I seen many ways but all ways need authentication step , so it bad solution, I am searching about way do what I need, without need authentication step.
Summary:
I am looking to get posts from timeline as data or Rss to make customization for it in my website ,without need authentication step.
If I understand correctly you want to display your tweets on you asp.net page.
You can do this by simply creating a widget and loading in on your page. this is a very simple process involving simple html and java script. Twitter will take care of the rest.
Below is the link
embedded-timelines
no authentication is required.
One small correction, you can display a maximum of 20 tweets at once, after that user needs to click on load more to get the some more appended below.

Making a Twitter bootstrap active in C# associated with a Twitter account

How do I make this "Latest Tweets" content in my website active? It's a part of my website and I'd like to connect it with my twitter account so whenever I tweet something it appears here automatically. Suggestions?
Embeddable timelines make it easy to syndicate any public Twitter timeline to your website with one line of code.
Create an embedded timeline from your widgets settings page on twitter.com, or choose
“Embed this…” from the options menu on profile, search and collection pages.
Just like timelines on twitter.com, embeddable timelines are interactive and enable your visitors to reply, Retweet, and favorite Tweets directly from your pages. Users can expand Tweets to see Cards inline, as well as Retweet and favorite counts. An integrated Tweet box encourages users to respond or start new conversations, and the option to auto-expand media brings photos front and center.
These new timeline tools are built specifically for the web, mobile web, and touch devices. They load fast, scale with your traffic, and update in real-time.
https://twitter.com/settings/widgets - this link allows you to do this + twitter supplies you with the iframe code which you insert into your website - easy.

Facebook JS SDK + C# SDK Logic

I've been playing around with Facebook JavaScript SDK and Facebook SDK for .NET (Web) to try and create a simple Page tab app which does the below:
Show welcome page
If user likes the page, ask for proper extended permissions and redirect to another page reserved for fans only
Use the access token from the login to do things on the user behalf.
Anyway, my problem is with the logic of the whole thing, as the user enters the page what should I do after loading the JS SDK? It automatically shows the permissions box so that I could get the extended permissions user_likes instead of showing the welcome page.
My other issue is with the access token that is going to be used later in time. Should i store it in session state? if yes, how? What happens if i try to access it and it's expired?
I know this is a general question but please could someone guide me through the best practices to initialize and use the facebook SDK in a .NET WebForms tab app?
Thanks a lot.
(I've read through both docs on Facebook and C# SDK. Great for browsing the API but not much documentations or examples about .NET WebForms)

Query facebook wall of a specific profile

I need to post on a website the wall notifications of a Facebook group, the group and the website belong to the same entity.
I've looked at many of the options available, but I would apreciate if someone with a bit Facebook developing experience told me what is the best path (most straighforward).
The website is not intented to interact with Facebook in any other way, there would exist no Facebook login button, and this one wall would be the only one being consulted.
I've looked at the possibility of grabbing an rss feed from the wall, but that option doesn't seem to exist.
The website is being done with asp.net (c#).
And Social Plug-ins are Exactly for that purpose. For your requirement you can use Live Stream Plugin. Look Here: http://developers.facebook.com/docs/reference/plugins/live-stream/enter link description here
Similar to your choice of getting an RSS feed of the group activity, you can use the Graph API to get the activity as JSON objects, at which point you can render them to your page.

Creating a hook into my facebook app from another site

new to facebook dev and I have read the basics to get a site up and running using the canvas setup. Nice and simple, I have also got the integration with users working ok (i.e. the signed_request).
I was wondering how it works with "sending/posting" data from one site that is anonymous (my own external to facebook) to the facebook site.
The flow I'm after is a user is looking at some content my site A (my own external site) and then clicks the "share on facebook" button (or whatever), which sends the user (and the data they were looking at) to the site B (my facebook app) to which they authenticate and then (and this is the part I dont get) can see that content on their personalised homepage within site B.
So is there a way to POST some kind of data to the facebook site? Or do I need to do something else here?
Thanks a lot.
You use the facebook API located here:
http://github.com/facebook/csharp-sdk
The .zip download includes the api that you can compile, as well as a sample project that uses it.
Reference: http://developers.facebook.com/blog/post/395/
EDIT
Here is some more info regarding the facebook graph api. I think you'll find everything you need in here: http://developers.facebook.com/docs/reference/api/

Categories