{"id":716,"date":"2011-11-14T16:12:01","date_gmt":"2011-11-14T16:12:01","guid":{"rendered":"http:\/\/frank-it-beratung.com\/?p=716"},"modified":"2012-09-29T10:57:31","modified_gmt":"2012-09-29T10:57:31","slug":"tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4","status":"publish","type":"post","link":"https:\/\/frank-it-projekte.de\/blog\/2011\/11\/14\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\/","title":{"rendered":"Facebook API Tutorial: Mit C# ein Foto uploaden (Tutorial Teil 4)"},"content":{"rendered":"<p>Aufgrund einiger Anfragen habe ich schnell diesen vierten Teil des Facebook-Tutorials geschrieben in dem erkl\u00e4rt wird, wie man via C#\u00a0 ein Foto zu Facebook hochladen kann.<\/p>\n<p>1. Die Vorarbeiten werden in <a title=\"Tutorial: Ein Facebook Pinnwandeintrag mit Visual Basic oder C# (Teil\u00a01)\" href=\"http:\/\/frank-it-beratung.com\/2010\/12\/10\/tutorial-ein-facebook-pinnwandeintrag-mit-visual-basic-oder-c-teil-1\/\">Teil 1<\/a>, <a title=\"Tutorial: Ein Facebook Pinnwandeintrag mit Visual Basic oder C# (Teil\u00a02)\" href=\"http:\/\/frank-it-beratung.com\/2011\/01\/29\/tutorial-ein-facebook-pinnwandeintrag-mit-visual-basic-oder-c-teil-2\/\">Teil 2<\/a> und <a title=\"Tutorial: Auf Facebook mit Visual Basic oder C# bei einem Freund einen Pinnwandeintrag posten (Teil\u00a03)\" href=\"http:\/\/frank-it-beratung.com\/2011\/02\/18\/tutorial-facebook-vb-csharp-pinnwandeintrag-bei-freund\/\">Teil 3<\/a> dieses Tutorials erkl\u00e4rt. Jetzt habe ich das Formular mit einem Feld f\u00fcr den Dateinamen und Pfad sowie einer Taste &#8222;Fotoupload&#8220; erg\u00e4nzt (Wer es etwas komfortabler haben m\u00f6chte und den Dateinamen nicht tippen m\u00f6chte kann noch den &#8222;OpenFileDialog&#8220; bedienen, auf das ich hier verzichtet habe).<\/p>\n<p><a href=\"http:\/\/frank-it-beratung.de\/blog\/wp-content\/uploads\/2011\/11\/screen11.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"Facebook API Tutorial C#\" src=\"http:\/\/frank-it-beratung.de\/blog\/wp-content\/uploads\/2011\/11\/screen11.jpg\" alt=\"\" width=\"593\" height=\"239\" \/><\/a><\/p>\n<p><!--more--><\/p>\n<p>2. Statt WebClient.UploadData verwende ich nun UploadFile und poste dies an &#8222;https:\/\/graph.facebook.com\/me\/photos&#8220;. Statt &#8222;me&#8220; kann ich auch die Nummer eines meiner Alben angeben oder sogar den Namen eines meiner Freunde (falls die eine Upload zulassen).<\/p>\n<p>3. Der Parameter &#8222;message&#8220; dient zu Bildbeschreibung. Zudem kann man noch Tags, Beschreibungen usw. angeben, Details siehe in der Doku von <a href=\"http:\/\/developers.facebook.com\/docs\/reference\/api\/photo\/\" target=\"_blank\">Facebook Developer<\/a>.<\/p>\n<p>4. Der komplette Code f\u00fcr das Click-Event auf die Taste\u00a0 &#8222;Fotouplaod&#8220; sieht dann folgenderma\u00dfen aus:<\/p>\n<pre>private void buttonUpload_Click(object sender, EventArgs e)\r\n{\r\n byte[] Nachricht = null;\r\n byte[] Antwort = null;\r\n string AccessToken = null;\r\n string u = \"\";\r\n\r\n AccessToken = txtAccessToken.Text;\r\n\r\n if (string.IsNullOrEmpty(AccessToken))\r\n {\r\n   MessageBox.Show(\"Bitte erst auf 'Login' klicken\");\r\n   return;\r\n }\r\n\r\n  \/\/postet das Foto unter \"Fotos\" des ausgew\u00e4hlten Users:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\r\n  string GraphURL = \"https:\/\/graph.facebook.com\/me\/photos\";\r\n\r\n  \/\/WebClient anlegen\r\n  System.Net.WebClient myWebClient = new System.Net.WebClient();\r\n\r\n  \/\/Except100 ausschalten, sonst gibt es u. U. Fehlermeldungen\r\n  System.Net.ServicePointManager.Expect100Continue = false;\r\n\r\n  u = \"?message=\" + txtStatusupdate.Text + \"&amp;access_token=\" + AccessToken;\r\n  Nachricht = Encoding.UTF8.GetBytes(u);\r\n\r\n  try\r\n  {\r\n   Antwort = myWebClient.UploadFile(GraphURL+u, \"POST\", textBoxDateiname.Text);\r\n   \/\/MessageBox.Show(System.Text.Encoding.ASCII.GetString(Antwort));\r\n   MessageBox.Show(\"Foto erfogreich hochgeladen!\");\r\n  }\r\n  catch (Exception ex)\r\n  {\r\n    MessageBox.Show(ex.Message);\r\n  }\r\n}<\/pre>\n<p><strong>Alternative: FileUploadAsync<\/strong><\/p>\n<p>In einem Kommentar zum meinem letzten Tutorials wurde ich gefragt, ob dies mit &#8222;Async&#8220; nicht sch\u00f6ner w\u00e4re &#8211; nat\u00fcrlich! Ich wollte es nur nicht unn\u00f6tig kompliziert machen. Aber wenn hier ein gro\u00dfes Foto hochgeladen wird w\u00e4re es nat\u00fcrlich besser, wenn die Anwendung solange nicht &#8222;einfriert&#8220; und stattdessen z. B. den Fortschritt anzeigt. Daf\u00fcr erweitere ich das Formular um eine Taste &#8222;Fotoupload (async)&#8220; sowie ein Label, in dem der Fortschritt des Uploads angezeigt werden soll:<\/p>\n<p><a href=\"http:\/\/frank-it-beratung.de\/blog\/wp-content\/uploads\/2011\/11\/screen2.jpg\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"734\" data-permalink=\"https:\/\/frank-it-projekte.de\/blog\/2011\/11\/14\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\/screen2-2\/\" data-orig-file=\"https:\/\/frank-it-projekte.de\/blog\/wp-content\/uploads\/2011\/11\/screen2.jpg\" data-orig-size=\"593,237\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Facebook API Tutorial mit C#\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/frank-it-projekte.de\/blog\/wp-content\/uploads\/2011\/11\/screen2.jpg\" class=\"alignnone size-full wp-image-734\" title=\"Facebook API Tutorial mit C#\" src=\"http:\/\/frank-it-beratung.de\/blog\/wp-content\/uploads\/2011\/11\/screen2.jpg\" alt=\"\" width=\"593\" height=\"237\" srcset=\"https:\/\/frank-it-projekte.de\/blog\/wp-content\/uploads\/2011\/11\/screen2.jpg 593w, https:\/\/frank-it-projekte.de\/blog\/wp-content\/uploads\/2011\/11\/screen2-300x119.jpg 300w, https:\/\/frank-it-projekte.de\/blog\/wp-content\/uploads\/2011\/11\/screen2-500x199.jpg 500w\" sizes=\"auto, (max-width: 593px) 100vw, 593px\" \/><\/a><\/p>\n<p>Der Code f\u00fcr einen &#8222;async&#8220;-Upload dazu sieht dann so aus:<\/p>\n<pre>private void buttonAsyncUpload_Click_1(object sender, EventArgs e)\r\n{\r\n  byte[] Nachricht = null;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\r\n  string AccessToken = null;\r\n  string u = \"\";\r\n\r\n  AccessToken = txtAccessToken.Text;\r\n\r\n  if (string.IsNullOrEmpty(AccessToken))\r\n  {\r\n    MessageBox.Show(\"Bitte erst auf 'Login' klicken\");\r\n    return;\r\n  }\r\n\r\n  string GraphURL = \"https:\/\/graph.facebook.com\/me\/photos\";\r\n\r\n  \/\/WebClient anlegen\r\n  System.Net.WebClient myWebClient = new System.Net.WebClient();\r\n\r\n  \/\/Except100 ausschalten, sonst gibt es u. U. Fehlermeldungen\r\n  System.Net.ServicePointManager.Expect100Continue = false;\r\n\r\n  u = \"?message=\" + txtStatusupdate.Text + \"&amp;access_token=\" + AccessToken;\r\n  Nachricht = Encoding.UTF8.GetBytes(u);\r\n\r\n  \/\/hier werden die Callbacks festgelegt:\r\n  myWebClient.UploadProgressChanged +=\r\n   new UploadProgressChangedEventHandler(UploadProgessChange);\r\n  myWebClient.UploadFileCompleted +=\r\n   new UploadFileCompletedEventHandler(UploadFertig);\r\n\r\n  try\r\n  {\r\n    myWebClient.UploadFileAsync(new Uri(GraphURL + u),\r\n     \"POST\", textBoxDateiname.Text);\r\n  }\r\n  catch (Exception ex)\r\n  {\r\n    MessageBox.Show(ex.Message);\r\n  }\r\n\r\n}\r\n\r\nprivate void UploadProgessChange(object sender, \r\n  UploadProgressChangedEventArgs e)\r\n{\r\n  LabelUpload.Text = e.ProgressPercentage.ToString() + \"%\";\r\n  \/\/ Alternativen: e.UserState, e.BytesReceived, e.TotalBytesToReceive,...\r\n}\r\n\r\nprivate void UploadFertig(object sender, UploadFileCompletedEventArgs e)\r\n{\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\r\n  MessageBox.Show(\"Upload fertig!\");\r\n  \/\/ggf. R\u00fcckgabewert auslesen:\r\n  \/\/byte[] data = (byte[])e.Result;\r\n  \/\/string textData = System.Text.Encoding.UTF8.GetString(data);\r\n  \/\/MessageBox.Show(\"Result: \" + textData); \u00a0\r\n}<\/pre>\n<p>P.S.<\/p>\n<p>Probleme? Fragen? Anregungen? Ich helfe jederzeit und gerne\u00a0 &#8211; einfach einen Kommentar oder Mail schreiben, die Antwort kommt schnellstm\u00f6glich. Unternehmen, die Unterst\u00fctzung, Beratung oder Schulung bei der API- oder Webprogrammierung, der Social-Media-Entwicklung oder dem Social-Media-Management ben\u00f6tigen finden zudem entsprechende Angebote meiner Firma auf der Website <a href=\"http:\/\/www.Frank-IT-Beratung.de\" target=\"_blank\">www.Frank-IT-Beratung.de<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Aufgrund einiger Anfragen habe ich schnell diesen vierten Teil des Facebook-Tutorials geschrieben in dem erkl\u00e4rt wird, wie man via C#\u00a0 ein Foto zu Facebook hochladen kann. 1. Die Vorarbeiten werden in Teil 1, Teil 2 und Teil 3 dieses Tutorials &hellip; <a href=\"https:\/\/frank-it-projekte.de\/blog\/2011\/11\/14\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\/\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[4,5,8,11,16,18,21],"tags":[23,27,77,55,84],"class_list":["post-716","post","type-post","status-publish","format-standard","hentry","category-api","category-c","category-facebook","category-graph-api","category-programmierung","category-social-networks","category-visual-basic","tag-net","tag-c-facebook-api","tag-graph-api","tag-vb","tag-visual-basic"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Facebook API Tutorial: Mit C# ein Foto uploaden (Tutorial Teil 4) - Socialweb Dev-Blog \/\/ Frank-IT-Beratung<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/frank-it-projekte.de\/blog\/2011\/11\/14\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Facebook API Tutorial: Mit C# ein Foto uploaden (Tutorial Teil 4) - Socialweb Dev-Blog \/\/ Frank-IT-Beratung\" \/>\n<meta property=\"og:description\" content=\"Aufgrund einiger Anfragen habe ich schnell diesen vierten Teil des Facebook-Tutorials geschrieben in dem erkl\u00e4rt wird, wie man via C#\u00a0 ein Foto zu Facebook hochladen kann. 1. Die Vorarbeiten werden in Teil 1, Teil 2 und Teil 3 dieses Tutorials &hellip; Weiterlesen &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/frank-it-projekte.de\/blog\/2011\/11\/14\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\/\" \/>\n<meta property=\"og:site_name\" content=\"Socialweb Dev-Blog \/\/ Frank-IT-Beratung\" \/>\n<meta property=\"article:published_time\" content=\"2011-11-14T16:12:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2012-09-29T10:57:31+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/frank-it-beratung.de\/blog\/wp-content\/uploads\/2011\/11\/screen11.jpg\" \/>\n<meta name=\"author\" content=\"Simon A. Frank\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"Simon A. Frank\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"3\u00a0Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/frank-it-projekte.de\\\/blog\\\/2011\\\/11\\\/14\\\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/frank-it-projekte.de\\\/blog\\\/2011\\\/11\\\/14\\\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\\\/\"},\"author\":{\"name\":\"Simon A. Frank\",\"@id\":\"https:\\\/\\\/frank-it-projekte.de\\\/blog\\\/#\\\/schema\\\/person\\\/e31d0c55b9277739ef6c87d5e7bb47a2\"},\"headline\":\"Facebook API Tutorial: Mit C# ein Foto uploaden (Tutorial Teil 4)\",\"datePublished\":\"2011-11-14T16:12:01+00:00\",\"dateModified\":\"2012-09-29T10:57:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/frank-it-projekte.de\\\/blog\\\/2011\\\/11\\\/14\\\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\\\/\"},\"wordCount\":321,\"commentCount\":27,\"publisher\":{\"@id\":\"https:\\\/\\\/frank-it-projekte.de\\\/blog\\\/#\\\/schema\\\/person\\\/e31d0c55b9277739ef6c87d5e7bb47a2\"},\"image\":{\"@id\":\"https:\\\/\\\/frank-it-projekte.de\\\/blog\\\/2011\\\/11\\\/14\\\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/frank-it-beratung.de\\\/blog\\\/wp-content\\\/uploads\\\/2011\\\/11\\\/screen11.jpg\",\"keywords\":[\".net\",\"C#. Facebook API\",\"Graph API\",\"VB\",\"Visual Basic\"],\"articleSection\":[\"API\",\"C#\",\"Facebook\",\"Graph API\",\"Programmierung\",\"Social Networks\",\"Visual Basic\"],\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/frank-it-projekte.de\\\/blog\\\/2011\\\/11\\\/14\\\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/frank-it-projekte.de\\\/blog\\\/2011\\\/11\\\/14\\\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\\\/\",\"url\":\"https:\\\/\\\/frank-it-projekte.de\\\/blog\\\/2011\\\/11\\\/14\\\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\\\/\",\"name\":\"Facebook API Tutorial: Mit C# ein Foto uploaden (Tutorial Teil 4) - Socialweb Dev-Blog \\\/\\\/ Frank-IT-Beratung\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/frank-it-projekte.de\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/frank-it-projekte.de\\\/blog\\\/2011\\\/11\\\/14\\\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/frank-it-projekte.de\\\/blog\\\/2011\\\/11\\\/14\\\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/frank-it-beratung.de\\\/blog\\\/wp-content\\\/uploads\\\/2011\\\/11\\\/screen11.jpg\",\"datePublished\":\"2011-11-14T16:12:01+00:00\",\"dateModified\":\"2012-09-29T10:57:31+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/frank-it-projekte.de\\\/blog\\\/2011\\\/11\\\/14\\\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\\\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/frank-it-projekte.de\\\/blog\\\/2011\\\/11\\\/14\\\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/frank-it-projekte.de\\\/blog\\\/2011\\\/11\\\/14\\\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\\\/#primaryimage\",\"url\":\"http:\\\/\\\/frank-it-beratung.de\\\/blog\\\/wp-content\\\/uploads\\\/2011\\\/11\\\/screen11.jpg\",\"contentUrl\":\"http:\\\/\\\/frank-it-beratung.de\\\/blog\\\/wp-content\\\/uploads\\\/2011\\\/11\\\/screen11.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/frank-it-projekte.de\\\/blog\\\/2011\\\/11\\\/14\\\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\\\/\\\/frank-it-projekte.de\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Facebook API Tutorial: Mit C# ein Foto uploaden (Tutorial Teil 4)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/frank-it-projekte.de\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/frank-it-projekte.de\\\/blog\\\/\",\"name\":\"Socialweb Dev-Blog \\\/\\\/ Frank-IT-Beratung\",\"description\":\"Social-Media und Web-Entwicklung: Tutorials und Tipps von Simon A. Frank\",\"publisher\":{\"@id\":\"https:\\\/\\\/frank-it-projekte.de\\\/blog\\\/#\\\/schema\\\/person\\\/e31d0c55b9277739ef6c87d5e7bb47a2\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/frank-it-projekte.de\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/frank-it-projekte.de\\\/blog\\\/#\\\/schema\\\/person\\\/e31d0c55b9277739ef6c87d5e7bb47a2\",\"name\":\"Simon A. Frank\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/frank-it-beratung.de\\\/blog\\\/wp-content\\\/uploads\\\/2009\\\/09\\\/simon200x200.jpg\",\"url\":\"https:\\\/\\\/frank-it-beratung.de\\\/blog\\\/wp-content\\\/uploads\\\/2009\\\/09\\\/simon200x200.jpg\",\"contentUrl\":\"https:\\\/\\\/frank-it-beratung.de\\\/blog\\\/wp-content\\\/uploads\\\/2009\\\/09\\\/simon200x200.jpg\",\"width\":200,\"height\":200,\"caption\":\"Simon A. Frank\"},\"logo\":{\"@id\":\"https:\\\/\\\/frank-it-beratung.de\\\/blog\\\/wp-content\\\/uploads\\\/2009\\\/09\\\/simon200x200.jpg\"},\"url\":\"https:\\\/\\\/frank-it-projekte.de\\\/blog\\\/author\\\/sfrank\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Facebook API Tutorial: Mit C# ein Foto uploaden (Tutorial Teil 4) - Socialweb Dev-Blog \/\/ Frank-IT-Beratung","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/frank-it-projekte.de\/blog\/2011\/11\/14\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\/","og_locale":"de_DE","og_type":"article","og_title":"Facebook API Tutorial: Mit C# ein Foto uploaden (Tutorial Teil 4) - Socialweb Dev-Blog \/\/ Frank-IT-Beratung","og_description":"Aufgrund einiger Anfragen habe ich schnell diesen vierten Teil des Facebook-Tutorials geschrieben in dem erkl\u00e4rt wird, wie man via C#\u00a0 ein Foto zu Facebook hochladen kann. 1. Die Vorarbeiten werden in Teil 1, Teil 2 und Teil 3 dieses Tutorials &hellip; Weiterlesen &rarr;","og_url":"https:\/\/frank-it-projekte.de\/blog\/2011\/11\/14\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\/","og_site_name":"Socialweb Dev-Blog \/\/ Frank-IT-Beratung","article_published_time":"2011-11-14T16:12:01+00:00","article_modified_time":"2012-09-29T10:57:31+00:00","og_image":[{"url":"http:\/\/frank-it-beratung.de\/blog\/wp-content\/uploads\/2011\/11\/screen11.jpg","type":"","width":"","height":""}],"author":"Simon A. Frank","twitter_card":"summary_large_image","twitter_misc":{"Verfasst von":"Simon A. Frank","Gesch\u00e4tzte Lesezeit":"3\u00a0Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/frank-it-projekte.de\/blog\/2011\/11\/14\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\/#article","isPartOf":{"@id":"https:\/\/frank-it-projekte.de\/blog\/2011\/11\/14\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\/"},"author":{"name":"Simon A. Frank","@id":"https:\/\/frank-it-projekte.de\/blog\/#\/schema\/person\/e31d0c55b9277739ef6c87d5e7bb47a2"},"headline":"Facebook API Tutorial: Mit C# ein Foto uploaden (Tutorial Teil 4)","datePublished":"2011-11-14T16:12:01+00:00","dateModified":"2012-09-29T10:57:31+00:00","mainEntityOfPage":{"@id":"https:\/\/frank-it-projekte.de\/blog\/2011\/11\/14\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\/"},"wordCount":321,"commentCount":27,"publisher":{"@id":"https:\/\/frank-it-projekte.de\/blog\/#\/schema\/person\/e31d0c55b9277739ef6c87d5e7bb47a2"},"image":{"@id":"https:\/\/frank-it-projekte.de\/blog\/2011\/11\/14\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\/#primaryimage"},"thumbnailUrl":"http:\/\/frank-it-beratung.de\/blog\/wp-content\/uploads\/2011\/11\/screen11.jpg","keywords":[".net","C#. Facebook API","Graph API","VB","Visual Basic"],"articleSection":["API","C#","Facebook","Graph API","Programmierung","Social Networks","Visual Basic"],"inLanguage":"de","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/frank-it-projekte.de\/blog\/2011\/11\/14\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/frank-it-projekte.de\/blog\/2011\/11\/14\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\/","url":"https:\/\/frank-it-projekte.de\/blog\/2011\/11\/14\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\/","name":"Facebook API Tutorial: Mit C# ein Foto uploaden (Tutorial Teil 4) - Socialweb Dev-Blog \/\/ Frank-IT-Beratung","isPartOf":{"@id":"https:\/\/frank-it-projekte.de\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/frank-it-projekte.de\/blog\/2011\/11\/14\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\/#primaryimage"},"image":{"@id":"https:\/\/frank-it-projekte.de\/blog\/2011\/11\/14\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\/#primaryimage"},"thumbnailUrl":"http:\/\/frank-it-beratung.de\/blog\/wp-content\/uploads\/2011\/11\/screen11.jpg","datePublished":"2011-11-14T16:12:01+00:00","dateModified":"2012-09-29T10:57:31+00:00","breadcrumb":{"@id":"https:\/\/frank-it-projekte.de\/blog\/2011\/11\/14\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/frank-it-projekte.de\/blog\/2011\/11\/14\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\/"]}]},{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/frank-it-projekte.de\/blog\/2011\/11\/14\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\/#primaryimage","url":"http:\/\/frank-it-beratung.de\/blog\/wp-content\/uploads\/2011\/11\/screen11.jpg","contentUrl":"http:\/\/frank-it-beratung.de\/blog\/wp-content\/uploads\/2011\/11\/screen11.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/frank-it-projekte.de\/blog\/2011\/11\/14\/tutorial-mit-c-oder-visual-basic-ein-foto-uploaden-facebook-api-tutorial-teil-4\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/frank-it-projekte.de\/blog\/"},{"@type":"ListItem","position":2,"name":"Facebook API Tutorial: Mit C# ein Foto uploaden (Tutorial Teil 4)"}]},{"@type":"WebSite","@id":"https:\/\/frank-it-projekte.de\/blog\/#website","url":"https:\/\/frank-it-projekte.de\/blog\/","name":"Socialweb Dev-Blog \/\/ Frank-IT-Beratung","description":"Social-Media und Web-Entwicklung: Tutorials und Tipps von Simon A. Frank","publisher":{"@id":"https:\/\/frank-it-projekte.de\/blog\/#\/schema\/person\/e31d0c55b9277739ef6c87d5e7bb47a2"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/frank-it-projekte.de\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":["Person","Organization"],"@id":"https:\/\/frank-it-projekte.de\/blog\/#\/schema\/person\/e31d0c55b9277739ef6c87d5e7bb47a2","name":"Simon A. Frank","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/frank-it-beratung.de\/blog\/wp-content\/uploads\/2009\/09\/simon200x200.jpg","url":"https:\/\/frank-it-beratung.de\/blog\/wp-content\/uploads\/2009\/09\/simon200x200.jpg","contentUrl":"https:\/\/frank-it-beratung.de\/blog\/wp-content\/uploads\/2009\/09\/simon200x200.jpg","width":200,"height":200,"caption":"Simon A. Frank"},"logo":{"@id":"https:\/\/frank-it-beratung.de\/blog\/wp-content\/uploads\/2009\/09\/simon200x200.jpg"},"url":"https:\/\/frank-it-projekte.de\/blog\/author\/sfrank\/"}]}},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2dxcw-by","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/frank-it-projekte.de\/blog\/wp-json\/wp\/v2\/posts\/716","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/frank-it-projekte.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/frank-it-projekte.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/frank-it-projekte.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/frank-it-projekte.de\/blog\/wp-json\/wp\/v2\/comments?post=716"}],"version-history":[{"count":4,"href":"https:\/\/frank-it-projekte.de\/blog\/wp-json\/wp\/v2\/posts\/716\/revisions"}],"predecessor-version":[{"id":942,"href":"https:\/\/frank-it-projekte.de\/blog\/wp-json\/wp\/v2\/posts\/716\/revisions\/942"}],"wp:attachment":[{"href":"https:\/\/frank-it-projekte.de\/blog\/wp-json\/wp\/v2\/media?parent=716"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/frank-it-projekte.de\/blog\/wp-json\/wp\/v2\/categories?post=716"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/frank-it-projekte.de\/blog\/wp-json\/wp\/v2\/tags?post=716"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}