C# - How To Get The Data From Facebook's Live Stream Plugin Out Via The Graph API
Nov 10, 2010
We're thinking of making use of the Facebook Live Stream social plugin for our site (example here), but I wanted to know if it was possible to access this data via the Graph API?
View 1 Replies
Similar Messages:
Feb 28, 2011
I have this requirement of fetching facebook user information like friends count and other basic information and integrate to our website.
I currently use facebook graph to ask user to authorise, fetch information and store in my database.
When their say, friend count changes how do I update my database without asking user to trigger it manually.
Is there a special permission where i can fetch user data when he/she isnt logged in.
I have seen this somewhere but not sure of the permission.
Or does facebook have any feature of publishing information on subscription ?
View 2 Replies
Jan 24, 2011
iam going to make a web site that display online live video stream.in other words, there is event in my company and this event will be display in my website by video camera using asp.net . i dont know how to do is there a special camera should i use it, how to connect this camera to my site
View 4 Replies
Jun 8, 2010
I'm using flow player for streaming videos to my browser.The videos are uploaded by the users and they may upload different formats. What will be solution to stream the videos as mp4 , what ever be the format they upload. I'm currently using ffmpeg commands.
The problem is after encoding the video is getting down scaled.Also if the user upload large video file the encoding itself takes more time.
I need to stream the videos as soon as its uploaded to the server, what ever may be the format(like in youtube).
View 2 Replies
Sep 17, 2010
I am using facebook graph Api for my application where i want the data of this page.
http://www.facebook.com/pages/
In this page there is option TV SHOW I want collect all information of that page.
But i didn't any graph api method for this page.
View 1 Replies
Mar 8, 2011
Is there a way, without using a streaming media server, to stream semi-live audio from an asp.net web app? We want to have a microphone located at a remote site, and stream the data to the client machine for listning. Maybe somehow dynamically build the wav data, or somehow implement this using playlists?
View 1 Replies
Feb 15, 2010
I need the ability to stream live audio/video on my churches website. I have checked many sources online and cannot find anything that mathches my needs just right. I do not want a 3rd party software. I do not want to use the new silverlight 4 as i need to be able to deploy this now. I am on a shared hosting account so I do not have full access to the server. I know this limits the options greatly but I know there also has to be a way to do it.
Also the main need is to stream a single audio/video source but it would also be beneficial to have this a 2 way system for youth groups discussions. So the ability for the church to stream one video and the youth that are signed on can also stream there audio/video back so possibly a webcam chat type setup would be best.
View 4 Replies
Oct 9, 2010
i am searching about how to make online live audio stream, (like radio),how to make this with asp.net?
View 3 Replies
Mar 29, 2013
How to save video file in sql . and play on web page in asp.net c#.
View 1 Replies
Feb 16, 2011
i'm using Facebook C# SDK i can get my friends like;
JsonObject friends = (JsonObject)facebook.Api("me/friends?");
But i couldn't get my friends which uses my application how can i get them?
View 2 Replies
Jul 20, 2010
i want to use localhost for developing website facebook application using the graph api.
i working in asp.net c#
in the previous api of facebook i was abe to write the
http://localhost:4300/ in the connect url at the application settings.
now it dosent work.it keeps telling me
An error occurred with application name. Please try again later.
** if i upload the website, and use the website coonect url, it is working.
View 3 Replies
Mar 17, 2011
I am tying to get the work information from a facebook user using Graph API
When I use the Graph API and get the User object, it contains work information, which is essentially a list of the work history. The list elements contain nodes of employer, location, description, etc...
The FQL return it as a JsonObject, how do i get the the value employer out of it. I am only interested in the last employer. I tried something below but could not get it working.
[Code]....
There is more information that says it return the "work_history" as an array
http://developers.facebook.com/docs/reference/fql/user/
View 7 Replies
Mar 27, 2011
When it comes to integrating your site with facebook, is it recommended to save all the user's info from Facebook to your DB, or is it recommended to query in real time all the info you need based on the user's id?
For example the avatar sizes are different on my site than on my facebook, so I may have no choice but to download the fb avatar, but for other things like name, gender, hometown, I was wondering if I need to save that data. Also, if I decide to change extended permissions at a later time, is that going to be an easy task?
View 1 Replies
Mar 27, 2011
i wrote an application for facebook but i couldn't upload image to album that i created,
code is in below
Facebook.FacebookAPI api = new Facebook.FacebookAPI(GetAccessToken());
Dictionary<string, string> album = new Dictionary<string, string>();
album.Add("name", "Test Album");
album.Add("message", "Message here!");
JSONObject result = api.Post("me/albums", album);
string AlbumId = result.Dictionary["id"].String;
Dictionary<string, string> photo = new Dictionary<string, string>();
photo.Add("message", "test Message");
photo.Add("source", "tgw.jpg");
JSONObject photoResult = api.Post("/" + AlbumId + "/photos", photo);
View 1 Replies
May 17, 2013
I am following your code for integrating facebook authentication.
It really works fine, but as per your post at [URL] ....
We cant use dll to logout from facebook. Is there any way around or do we need to use use facebook sdk for just logging out?
View 1 Replies
Dec 31, 2013
i want a code to search a friends and send a request (add to my friend)
View 1 Replies
Jul 14, 2010
I try to get parse JSON response for the following link:
https://graph.facebook.com/feed/?ids=135395949809348,149531474996&access_token=
The response is like that:
{
"135395949809348": {
"data": [
{
....Some data
}]
}
,
"325475509465": {
"data": [
{
....Some data......
}]
}
}
I use System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(string json) method.
But the objects key names always different , so I can't define the class that can be used for parsing this response.Is anyone has any experience in parsing multiple id's response from Facebook?
View 2 Replies
Jul 26, 2010
I've integrated my website with Facebook Connect, authorization/single-sign on all working great.
Now im trying to post something to the user's wall, which im having some problems with.
First of all, im using the "old" JavaScript API (FeatureLoader.js).
These are the Graph API URL's im using:
private const string UserDetails_Url = @"https://graph.facebook.com/{0}?access_token={1}";
private const string Feed_Url = @"https://graph.facebook.com/{0}/feed?access_token={1}";
private const string TokenExchange_Url = @"https://graph.facebook.com/oauth/access_token?{0}";
I'm using the TokenExchange_Url URL to receive the unique user OAuth token to make calls with.
This is working fine, because a) i receive the token back, and b) i can issue HTTP Get Requests to the Graph API (i.e UserDetails_Url) and it works fine.
But, i cannot Post to the User's wall using the Feed_Url.I'm pretty sure the issue is i haven't got the appropriate user permissions to post to a wall (i.e facebook-side setting).
Now, i realise i can use the fbPublish API method client-side to do this, but i want to do it server-side with the Graph API.
I wont bother showing my code which attempts the call to the Graph API to post to the user's wall, as its pretty straightforward (HttpWebRequest, set method to "POST', set content type/length, write bytes to Stream, etc).
I think the problem is i need the user to grant my aplpication "publish_stream" extended permissions.
The Facebook Graph API doco says to do this in your authorization request:
https://graph.facebook.com/oauth/authorize?
client_id=...&
redirect_uri=http://www.example.com/callback&
scope=user_photos,user_videos,publish_stream
Which confuses me because im using the following URL to get the OAuth token:
https://graph.facebook.com/oauth/access_token?bunchofqsparams
Am i using the wrong Token Exchange URL? Why is there two different URL's to seemingly get the same piece of information?
Yes - i have read the Facebook API doco (numerous times), and yes i have read other similar SO questions, but they all result in using the client-side API to publish to wall, i want to do it server side.
For the actual "Facebook Connect" button, i'm using the standard FBML:
<fb:login-button length="long" size="medium" autologoutlink="false" background="light" onlogin="facebookLogin('/login')" class=" fb_login_not_logged_in FB_login_button FB_ElementReady"><a id="RES_ID_fb_login" class="fbconnect_login_button"><img id="RES_ID_fb_login_image" src="http://static.ak.fbcdn.net/rsrc.php/zB6N8/hash/4li2k73z.gif" alt="Connect"></a></fb:login-button>
When i click this (and not logged into Facebook), it pops up a window which the user can login. But it doesnt have the "Request Extended Permissions" dialog - shouldnt it? Or is that another popup i need to manually trigger?
So to sum up, here are my questions:
How do i grant extended permissions to publish to the user's wall?What is the correct URL for obtaining an OAuth token?Is there a definitive source for showing how to post to a user's wall using server-side Graph API calls?
View 1 Replies
May 7, 2015
Regarding your facebook api in aspsnippets, and the article [URL]..... , I can get the facebook user id, name, email, gender, birthday. But I cannot get UserName. When running website, the lblUserName is blank.
View 1 Replies
Dec 26, 2013
I have two friends in facebook
the name of the first friend is : jad .
the name of the second friend is :rima .
How I can get the mutual friend list between jad and rima .
View 1 Replies
May 7, 2015
How can retrieve Phone numbers from Facebook API.
View 1 Replies
Dec 25, 2013
How to use read_mailbox function to use to fecth the user data..and Provides the ability to read from a user's Facebook Inbox. in asp.net c#.. I am using aspsnippet namspace in my project..
View 1 Replies
Dec 20, 2010
I am using Facebook Toolkit (the old REST API LIB). I have 2 users with comments in FB. both have the right permissions for my application. When I launch Stream.Getcomments I get empty result in one user, and in the other one I get good result.
I tried using the FQL and it still returns empty. When using Facebook FQL test console they offer on their site - it is working ok.
View 1 Replies
Apr 29, 2012
I am developing an ASP.Net site where I need to access Facebook site. I want to know how can we register and get API key...
View 1 Replies
Nov 16, 2013
This tutorial nice. Here I have one problem..that is how can i get Code value... In pageload
string code = Request.QueryString["code"];
View 1 Replies