C# - Facebook Post To Fan Page - PHP?
Dec 25, 2010
On this forum I found a PHP, post to fan page wall, code.
Here it is:
$facebook->call_api('/(pageID)/feed/', "post",array('message'=>"message here"));
Can someone transform this to C# command?
I think that $facebook is probably facebookapi facebook = new facebookapi(); right?
i just don't know call_api command in C#
View 2 Replies
Similar Messages:
May 7, 2015
I want to make a post in Facebook FanPage as page Admin.
View 1 Replies
Mar 16, 2010
I'm using an ASP.NET Facebook Developers Toolkit (http://www.codeplex.com/FacebookToolkit) on an external website, and I'm also the admin of a facebook fan page for the website. Users on my website (may or may not be facebook users) create content articles.
I would like to hook up these articles to the Facebook fan page, so that, when they write the article, then ones with FB accounts can sign into FB and post on the Fan page. I'm sure they would need to be a fan first.
View 1 Replies
Sep 25, 2013
how to post on facebook page using asp.net web forms.
View 1 Replies
Oct 15, 2010
I am creating Fan page and application for Post something in Fan page wall from ASp.net page. But Text get post Nicely. But Images and attachments not get post in my wall. Is ther any way to Pass HTML code from asp.net to post in my Facebook Fans page Wall.
View 2 Replies
Aug 6, 2012
code to integerate twitter and facebook in my application,
View 1 Replies
Feb 16, 2010
I've been reading through the fb developer api documentation and I'm trying to find out what would be the easiest way to post information on a website to the website's own facebook page. for instance - the assumed workflow is like this:
an admin user adds new content to the company website - and once submitted that content should automatically appear as a link on the company's facebook page.
Do I use the API, facebook Connect, a facebook Share button etc. Looking for some recommendations based on my assumed workflow. Project will be coded in c# (although I'm really looking for recommendations of which tool to use from someone's experiences with the api)
View 1 Replies
Nov 30, 2010
I have four textbox and a button in my page. After filling the textbox. When the user click save button. A loading image should be displayed. User should not feel that the page is postback to the server,Some thing like in facebook loading image.
View 5 Replies
Aug 20, 2012
I have website with facebook like box for facebook page (eg, abc) . Now if any new post in their at website it will automatically post at wall or not.
View 1 Replies
Jun 26, 2010
I have created a facebook application using FaceBook ToolKit for .Net, What I am trying to do is create a WebApp for FaceBook which allows users to tweet.
I have also read about twitterizer library, that allows ASP.Net to create Apps for Twitter but it comes with OAuth authentication where a user is redirected to Twitter.com.
What I am trying to do is once user has given permission the app will accept username and password for their twitter account and then using Twitterizer library it will post their tweets.
View 1 Replies
Aug 18, 2012
I see that only name,group,email address we can access at facebook send button. How can i send to my facebook page wall (where i am admin) by clicking facebook send button. It's by default don't show it.
View 1 Replies
Jan 24, 2011
I want Post to Wall Post functionality in facebook fan page application. I am developing it using ASP.Net. I am using javascript sdk and applying strem.publish method. Below is th code which i have used.
[Code]....
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
Aug 24, 2010
i want to develope desgin like facebook .where i have posts and comments will pick from the database that i inserted earlier.what will be the best possible way to do in the same template.
View 4 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
Sep 11, 2012
I can able to post now FB comment post from asp.net system but if i want to schedule some message from my sytem what can i do ? How can i store FB account ?
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
May 7, 2013
I try To integrate Fb And Twitter Integration in My Site But At A Time 1 Integration Work Both Integration Is Not Work...
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 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
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
Aug 28, 2013
Post Publish and Share content on user’s FaceBook Wall or Timeline using Graph does not work on the mobile version.
Redirects to a page with an error, the desktop version works on mobile no, is how to fix it
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