C# - How To Upload Photo With Facebook API
Mar 22, 2010How can I upload a photo file automatically with ASP.NET using the Facebook API?
View 1 RepliesHow can I upload a photo file automatically with ASP.NET using the Facebook API?
View 1 RepliesI'm trying to create an image gallery where you can create tag on the photo like on facebook.Does anyone knows any free library to do this... I have already searched on google but i don't be able to find anything :S
View 1 RepliesI want to implement and allow users to create their own photo albums on my website.Now i was proposing that i have 2 tables:-Quote:
tbl_albums{album_id, user_id, album_name, info, date_added}
tbl_album_images{image_id, album_id, user_id, caption, date_added}
So one table would contain information about the album and the other would be the images inside the album.firstly does this seem like a good approach?If so, i want to know what would be the best way to allow users to do this?
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);
I need to take a picture and submit it to my facebook wall automatically including text if included. Is there a way to do this from asp.net? I do not want to use any user interface - I want this to be automatic. As new pictures come on my server I want to post them right then.
I looked at the developer pages of fb but can't find anything that is more automated. What is the best and easiest way to submit the pictures?
I have a page that have 5 to 10 photos of a person, If some user comes into this page he should see facebook "Like" button next to each photo on that page.
I have installed Javascript SDk on my site, I can use XFBML also. Just post me some sample code if you have any?
I want to get all facebook User from particular area With their name and photo in asp.net .. How can I achieve this ..
View 1 RepliesI followed instructions for displaying albums from facebook on my web site.
However I was having a problem at this line:
Dim data As String = FaceBookConnect.Fetch(code, "me/albums")
It fails with a (400) Bad Request.
I tried your live demo and it does the same thing. Is this just me, or is there something not right with your code on this example?
i want to uplod no.of photos in my project, e.g. hotel i want to upload photos of hotel and when i search for that hotel i can saw that photos into the details ofthat hotel.(i want to store that photos into my project's "Images" folder)
how can i do this using javascript, without javascript,using fileupload or without fileupload control...
Once I upload an image to the server (asp.net), I need to display this uploaded image for cropping. What is the best-practice to achieve the same(ie how do I send te image back to the client for display)? . I have tried giving a preview option before upload. But this does not seem to be working for all images. See here
Addition :
[I know JCrop is available , but the point of the question is how to send the image back ofr display]
I'm building a site.In which i'll submit some information into database including picture and banner. How do i add a asp picture add control in submit information form.
View 5 RepliesHow can we upload a photo in crystal report ?
will it be possible?
I have created upload button as per below and im able to upload the photo to upload folder in my web application .
But im not sure how to determine only can upload image format jpg & bmp and size of the photo not exceed 1 MB ?
[code]
How do I upload Image/Photo from my Iphone to webserver. At web server I am using ASP.net c#.
On Iphone i have image displayed on UIImage Control and that image I am getting from database from BLOB datatype column.
how do I save that image bytes to application folder and then send image file to webserver.
I just created a profile page were users can enter their name current location age , etc. I want users profile info be created together with their profile photo on the top left hand corner. Ive created a database for the profile but how to upload a profile pic using either file upload or any other method.
View 1 RepliesI want to upload photo on flickr from my webpage.
My code is
Private Function GetAuthenticateToken() As String
Dim flickr As New Flickr("9855637e1efcb0a7245c2dfb5523774b", "6634b31122809bd7")
Dim frob As String = flickr.AuthGetFrob()
Return flickr.AuthCalcUrl(frob, AuthLevel.Write)
[Code] ....
But nothing is happen.
I have a very simple WCF Web Service it has methods like the ones below. It should be said that my webservice is very simple, I didn't do any configuration. Now I want to upload and download photos like .jpg or .jpeg files. But my question to you how shall I write the methods to be able to download and upload photo files to the WCF web service from my client?
[Code]....
I h one problem, i need to upload many photo at a time using file uploader control in asp.net, only one photo I m able to upload, but problem is like after selecting course all records are coming, i need to attach one one file uploader (photo) option with all records so that after clicking[after selecting photo] on save button all the records [photos] h to be save in database, can U people plz. tell me what to do , how , for that do I need to make user control.
View 6 Repliesin asp.net i want the user to chose a photo to upload from their HD . then i want the uploaded photo displayed and an hyperlink option to save or reject this photo. if accepted the filename will be stored in a DB.
the problem is displaying the photo before it has been saved.
I display strFileName which works on my PC but not on my laptop.
[code]
I'm actually a little lost here. I'm doing a Custom Membership Portal with LINQ to SQL. I created my custom tables and integrated those with the default aspnet tables (everything on my custom database). I'm using Visual Web Developer 2008 and SQL Server 2008 ExpressFor example... creating a new user, i pass the userID and email to my custom user table:
protected
void CreateUserWizard1_CreatedUser(object
sender, EventArgs e)
[code]...
I am trying to upload an image using ASP.NET with C#.I do not how to send image in parameter source="F://sample.jpg".I have also tried to send an image in a byte format.
URL is [URL
Post Data is source= "F://sample.jpg"
I am getting an exception.
Ok, so here was my first question: How do I allow visitors on my site to share my photos on their facebook news feed?
After implementing it I realized what I really want is to upload the image as a photo to their photo album.
How would I got about getting an image on my site, to upload to their photo album, when they click on a facebook icon next to the image?
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] ....
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 RepliesI need to develop a login where user can login from his facebook account. When user login first time, an auth dialog should open from facebook asking to user for access permission and than it should move to one of my page where I can retrieve user email address and first name & last name through his facebook access token. How to achieve this?
View 1 Replies