C# - Unable To Save Wall Post Data?
Mar 16, 2011
i have a partial website up as im having extreme difficultys trying to figure out how to save some information http://project.mcr00t.eu/ You can log into the site with any credentials atm there is no functionality for it atm, it will bring you to the users profile page which has a wall posting part to it, you can write on your wall similar to facebook.
The part im trying to get my head around is how to save that data so it stays on the wall im using asp and mysql? Can any one help?
View 1 Replies
Similar Messages:
Aug 6, 2012
code to integerate twitter and facebook in my application,
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
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
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 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
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
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 5, 2012
I want to create one system in asp.net
I can post my Google + wall and schedule it from my system also i can replay comment.
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
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
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
Mar 3, 2011
i want to crete some runtime control in asp.net hence i create one html file & for that i use JAVASCript for repeat that contols.i want to save the data enter into that control.but how it post to .aspx file & how the data save into database
View 1 Replies
Feb 17, 2011
I have one AsyncFileUpload control ,one Attach button,one Listbox and Save button.
When Users browse the file and click the attach button, filename must be added to listbox. So in this way the user has the option to add upto multiple filenames to listbox. For this i have written the following code
[Code]....
this is source code
[Code]....
In Attach button click event i added the filename to listbox and saved the Asyncfileupload controls in different session variable.
When user clicks on save button all files has to be saved in application folder and for this i wrote the following code.
[Code]....
But iam unable to save all the files . Suppose i added two AsyncFileupload controls to session variables, only last file i,e. 2nd file can only be saved and couldn't get first file.
[Code]....
View 4 Replies
Jan 11, 2010
I'm currently doing a program to store some data like a Login/ Registration page. Datas include username, age, password etc.I created a save button to save the datas into the accdataset.Now when I start debugging, and i type in the information requires (Name,password etc..), and i click on the save button,the information i wrote will be shown in the acctabledatagrid,<- It have been working correctly till now.However, whenever when i stop debugging and edit the program, the datas will be clear and there will be no information shown on the acctabledatagrid.So I'm quite stuck here as I am unsure where my problem lies.
Imports System.Data
Imports System.Data.SqlClient
Public Class Form1
[code]...
View 6 Replies
Aug 20, 2010
i develop a site that is working fine on my system. but when i publish this the data is not saving into the database. my database in in app_data folder. what is the problem.
View 2 Replies
Dec 31, 2010
i checked the article " Maintaining State of CheckBoxes While Paging in a GridView Control" inaspalliance.com for maintaing the checkstate of a paging enabled gridview.In this all the checked values is stored in a session and when i am retreiving the values from here for saving it in a database,the data in the last page alone is not saving.
My code for Saving the data is
ArrayList selectedValues = new ArrayList();
selectedValues = (ArrayList)Session["CHECKED_ITEMS"];
for (j = 0; j < selectedValues.Count; ++ j)
{
int intValue = Convert.ToInt32(selectedValues[j]);
getdata = new SqlCommand("insert into Table3(id) values (" + intValue + ")", con);
getdata.ExecuteNonQuery();
}
View 2 Replies
Mar 28, 2011
I have developing simple application to save in database using visual studio lightswitch but no luck. I'm getting "Caption : unable to Save data... Submit operation failed. The remote server returned an error:NotFound. The remote server returned an error:NotFound" error message while saving. Also running the application, I'm gettingwindows security popup window. I have installed Visual Studio 2010 with SP1, Ligthswitch, SQL Server 2008 R2. OS: Windows 7 Enterprise. System not connected to any Domain and no password for windows. the issue occuring during development itself.
View 1 Replies
Feb 7, 2011
I need to upload and save an image onto the server. I am using an XMLHttpRequest POST to send the image to the server and calling a class named imageSave.aspx.I am finding difficulty in "catching" the image from server side (imageSave.aspx) and saving it onto the server.
Does anyone please have some tips as to how this is done or maybe link to a good article or something?
Code used to perform the http POST....
xhr = new XMLHttpRequest();
// Update progress bar etc [code].....
View 1 Replies
Oct 15, 2010
I need to pass a customer id to get some data back for a customer from a webservice. I can't figure out how to get to the webservice, I have a breakpoint set in the webmethod but it's not being hit and the alert box is not popping up either. For a test I am just trying to show some value from the returned data in an alert box. Note I am just hard coding the customer id of 1001. The webmethod takes a parameter of string customerid.
[Code]....
Does some one know what's missing or how to debug this issue?
View 3 Replies