Social Networking :: Post Message To Friends Wall Using FaceBook Graph API
Nov 15, 2012
how to post feed OUR wall. now, my friend wall, using their ID.tried with
FaceBookConnect.Post(ViewState["Code"].ToString(), "/<friend ID>/feed", data);
--> failed :-(
FaceBookConnect.Post(ViewState["Code"].ToString(), "/<friend ID>/notes", data);
--> also failed
also tried with : "/<friend ID>/notes" which also failed.
View 1 Replies
Similar Messages:
Dec 25, 2013
How I can get the friend of my friends on facebook ? i use this : FaceBookConnect.Fetch(code, "me/friends") to get my friend. What is the change i can do to get the friends of my friends on facebook .
Example : I am friend with samie . How I can get the friend of samie on facebook .
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
Jan 22, 2013
I was implementing codes taken from[URL] .... and [URL] ....
It works fine separatly but when i want to integrate it gives me an error "Bad Request......"at so how can i get user info and his friend list on login button.
protected void Login(object sender, EventArgs e)
{
FaceBookConnect.Authorize("user_photos,email,friends_photos", Request.Url.AbsoluteUri.Split('?')[0]);
}
protected void Page_Load(object sender, EventArgs e)
[Code] ....
View 1 Replies
Oct 5, 2012
i have an app to post on friends wall but i want it to prompt to choose from friends like adding friends by checkbox so that the messsage can be sent to all i selected simultaneously.
View 1 Replies
Aug 6, 2012
code to integerate twitter and facebook in my application,
View 1 Replies
Feb 25, 2013
How do i post image on facebook wall from asp.net
View 1 Replies
May 7, 2015
i want to post an image or photo into users facebook wall without using Fileupload control.i have retrieved an Image from my database in .bmp format and i want to post that bmp image into facebook wall. i don't want to use Fileupload controls.
View 1 Replies
Sep 24, 2012
i have find the way how can i find user id now the question is
with the use of user id how can i post on facebook wall when the user is not login
what info i need to store in database ?
View 1 Replies
Aug 27, 2013
I am trying to post a image on multiple users ids wall. I have tried your code it is successfully posting the image on my wall.
I was given different user ids, My requirement is to post the same image on their wall individually is it possible?
View 1 Replies
May 7, 2015
I am using the code to post on facebook wall from below url.
[URL]...
This works fine only if the developer from which the app is created. But its not working for any other logins.
View 1 Replies
May 7, 2013
How user post comment on my website using gmail ,fb,yahoo ,hotmail account ...
how to apply this.. [URL] ....
View 1 Replies
Sep 27, 2012
how can i post a message to a facebook friend from asp.net site ?
View 1 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
Jan 30, 2013
How can I get email adress of facebook friends in c# ...
View 1 Replies
Oct 10, 2013
Using FaceBookConnect i have retrieved friends namem id, pic but i not able to retieve friends emails, contact no. How to retrieve friends emails from Facebook..? in ASP.NET
protected void Page_Load(object sender, EventArgs e) {
FaceBookConnect.API_Key = "API_Key";
FaceBookConnect.API_Secret = "API_Secret";
if (!IsPostBack) {
[Code] ....
View 1 Replies
Jun 19, 2013
I am trying to upload video on facebook using asp.net with c#. But my code is not working.
How to upload video on facebook using asp.net application with c#.
I am using code from here [URL] ....
View 1 Replies
Jan 7, 2013
Importing contacts from facebook to excel using asp.net
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
Nov 23, 2012
I want to display all facebook wall post in my application in .net
View 1 Replies
Dec 12, 2012
Related to this article [URL] ....
I have a problem regarding posting arabic text to facebook wall, it works well in english but arabic has a problem in encoding it post any arabic text in ?
View 1 Replies
Oct 15, 2013
i am doing my project in asp.net mvc in this wall type application
when am i write text click on submit then it will post on wall how to do this
View 1 Replies
May 7, 2015
I want to call facebook graph web api to get friend list of logged in user with some information of them like email id and mobile number can I do this in asp.net application.
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