ASPForums.Net RSS Feed additions to the content that appears on ASPForums.Net(c) 2018 All rights reserved.why i cant get email with facebook login in<p>Hi.</p> <p>I use&nbsp;aspsnippets.facebookapi.dll for login into facebook in my web site.&nbsp;But when login into facebook, returned username and email is empty. In my facebook account, email is public. Where is my Fault.</p> <p>Thank a lot.</p> <pre class="brush: csharp">FaceBookConnect.API_Key = &#34;...&#34;; FaceBookConnect.API_Secret = &#34;...&#34;; if (!IsPostBack) { if (Request.QueryString[&#34;error&#34;] == &#34;access_denied&#34;) { ClientScript.RegisterStartupScript(this.GetType(), &#34;alert&#34;, &#34;alert(&#39;User has denied access.&#39;)&#34;, true); return; } string code = Request.QueryString[&#34;code&#34;]; if (!string.IsNullOrEmpty(code)) { string data = FaceBookConnect.Fetch(code, &#34;me&#34;); FaceBookUser faceBookUser = new JavaScriptSerializer().Deserialize&lt;FaceBookUser&gt;(data); string Pass = faceBookUser.Id; string Username = faceBookUser.UserName; string Fullname = faceBookUser.Name; string User_Email = faceBookUser.Email; } }</pre> <p>&nbsp;</p>, 03 Feb 2016 07:21:50 GMTWhich Facebook Graph API versions<p>Hi there.</p> <p>I am using the ASPSnippets.FaceBookAPI.dll and today had an email from Facebook saying their Graph API v2.5 is reaching end of life.</p> <p>Will a new DLL be released which uses a newer Facebook Graph API version?</p> <p>Thanks!</p>, 15 Mar 2018 04:23:44 GMTWhat is the logic behind same login for all Google sites can we do same in ASP.Net<p>Hi,</p> <p><em>we have login&nbsp; the any one iof the&nbsp; Google Group site</em> .it not required login to another.its automatically open requested page.</p> <p>when i close the one site. another site working. what is the login behind this.</p> <p>Please suggest me. Thanks in advance.</p> <p>&nbsp;</p>, 17 Aug 2013 09:16:36 GMTUpload Files to Google Drive using Google Drive API using C# and VB.Net in ASP.Net<p>Hi,&nbsp;</p> <p>Please let me know how to upload&nbsp;&nbsp;image from local folder to google drive by&nbsp;programmatically C#, Please Explain in brief.&nbsp;</p> <p>Thanks in advance..</p> <p>&nbsp;</p>, 31 Jan 2017 05:26:27 GMTUpdate Twitter status through ASP.Net Web Application using Twitter API<p>Hi</p> <p>I need to update the status in Twitter&nbsp; in</p> <p>I need to use Twitter API to acheive this.</p> <p>Thanks in advance.</p> <p>&nbsp;</p>, 06 Aug 2012 04:18:40 GMTUpdate Twitter status through ASP.Net Web Application<p>Hi <a class="username">Mudassar</a>,</p> <p>I have tried the demo and the code example and it did not work. I was reading that some of the Twitter request uri's have changed and that some are not in use anymore, not sure what that means.</p> <p>When I run the code it authenticates but when I post I get a 404 error on the Tweet_Click on this line - twitter.Tweet(txtTweet.Text)</p> <p>On the demo it does not do anything when the button is pressed, the page only refreshes.</p> <p>Any help would be much appreciated.</p> <p>Kind regards, Carlo</p>, 16 Jan 2013 09:44:46 GMTUpdate google map after 40 seconds so that my google map updated in ASP.Net<p>dear sir<br />i have add google map on my project but i have to do it update or set timer for 40 seconds.<br /><br />i have to update my google map after 40 seconds or apply time so that my google map updated according to my database latitude and longtitude values. my java script cod is .....</p>, 16 Jun 2016 03:15:28 GMTUpload Files to Google Drive using Google Drive API in ASP.Net with C# and VB.Net<p>&nbsp;</p> <pre class="brush: csharp">using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using ASPSnippets.GoogleAPI; using System.Web.Script.Serialization; public partial class GoogleDriveFile : System.Web.UI.Page { public string Id { get; set; } public string Title { get; set; } public string OriginalFilename { get; set; } public string ThumbnailLink { get; set; } public string IconLink { get; set; } public string WebContentLink { get; set; } public DateTime CreatedDate { get; set; } public DateTime ModifiedDate { get; set; } protected void Page_Load(object sender, EventArgs e) { GoogleConnect.ClientId = &#34;;; GoogleConnect.ClientSecret = &#34;XAUULTL-5UgEITuwugXjRR_H&#34;; GoogleConnect.RedirectUri = Request.Url.AbsoluteUri.Split(&#39;?&#39;)[0]; GoogleConnect.API = EnumAPI.Drive; if (!string.IsNullOrEmpty(Request.QueryString[&#34;code&#34;])) { string code = Request.QueryString[&#34;code&#34;]; string json = GoogleConnect.PostFile(code, (HttpPostedFile)Session[&#34;File&#34;], Session[&#34;Description&#34;].ToString()); GoogleDriveFile file = (new JavaScriptSerializer()).Deserialize&lt;GoogleDriveFile&gt;(json); tblFileDetails.Visible = true; lblTitle.Text = file.Title; lblId.Text = file.Id; imgIcon.ImageUrl = file.IconLink; lblCreatedDate.Text = file.CreatedDate.ToString(); lnkDownload.NavigateUrl = file.WebContentLink; if (!string.IsNullOrEmpty(file.ThumbnailLink)) { rowThumbnail.Visible = true; imgThumbnail.ImageUrl = file.ThumbnailLink; } } if (Request.QueryString[&#34;error&#34;] == &#34;access_denied&#34;) { ClientScript.RegisterClientScriptBlock(this.GetType(), &#34;alert&#34;, &#34;alert(&#39;Access denied.&#39;)&#34;, true); } } protected void UploadFile(object sender, EventArgs e) { Session[&#34;File&#34;] = FileUpload1.PostedFile; Session[&#34;Description&#34;] = txtDescription.Text; GoogleConnect.Authorize(&#34;;); } } </pre> <pre><font color="red">Line 30: GoogleDriveFile file = (new JavaScriptSerializer()).Deserialize&lt;GoogleDriveFile&gt;(json);</font></pre>, 15 Mar 2018 11:16:04 GMTUpload file to Google Drive directly from Folder (Directory) without using FileUpload control in ASP.Net<p>i want to know how to upload local file to google drive without using file upload or html input file control.. i have file path and other information</p> <p>i m using web application and vb language</p>, 12 Jan 2016 02:27:52 GMTUpload file to a specific folder in Google Drive<p>Hi,</p> <p>How to upload a file to a specific folder in Google Drive?</p> <p>I have gone through the below link and its uploading to the Google Drive but not to a specific folder.</p> <p><a href=""></a></p> <p>Please help me out in this.</p> <p>Thanks in advance</p>, 18 May 2018 04:18:54 GMTUpload Video on Facebook wall using c#<p>Hi,</p> <p>I am trying to upload video on facebook using with c#. But my code is not working.</p> <p>Please help me out to upload video on facebook using application with c#.</p> <p>&nbsp;</p> <p>I am using code from here</p>, 19 Jun 2013 23:29:40 GMTUnable to Show google map on Page in ASP.Net<p>I went through your article of reverse geocoding, this is the link where i found your article:</p> <p><a href=""></a></p> <p>but unfortunately it is not working and i am getting code error in htm. Following is the picture of the code and error</p> <p><img src="" alt="" width="472" height="298" /></p> <p>&nbsp;</p>, 20 Jun 2016 02:03:06 GMTTwitter like TextBox AutoComplete for selecting multiple items in ASP.Net<p><span lang="EN-GB">i would like to fill the textbox autocomplete stringcollection "on the fly" while typing.</span> using with the Particular symbols Like @,#</p> <p>&nbsp;Same as twitter "Compose new tweet" textbox</p> <p>And the Data from the backend</p>, 05 Aug 2013 01:59:39 GMTtwitter integration code<p>How can we integtate twitter(contact,id,twitt) in our own website.......plz respond as soon as possible</p>, 11 Oct 2012 02:44:57 GMTTwitter Error: An error occurred while parsing the Twitter response using C# and VB.Net<p>sir i am getting this kind of error kindly help while using twitter account</p> <p>&nbsp;</p> <h3 class="text">An error occurred while parsing the Twitter response.</h3>, 27 Nov 2017 00:00:13 GMTTwitter Authentication Error: An error occurred while parsing the Twitter response<p>Hi am using Twiiter Authentication by refreing following link.</p> <p><a href=""></a></p> <p>In that if i am authenticating with another account it gives follwoung error</p> <p>&nbsp;</p> <pre class="brush: csharp">System.Exception: &#39;An error occured while parsing the Twitter response.&#39;</pre> <p>Please Help me</p>, 15 Jan 2018 04:41:19 GMTTwitter API: Space Character gets changed to 2520 when Tweet is liked<p>I have a url&nbsp; Catalogues . when i click on Like tweet then it is changed into&nbsp; Except Tweet Like i have no problem. In others it is changed into&nbsp; So i don't have any problem. For Twitter Like I am using this Code:</p> <p>&nbsp;&lt;a href="" class="twitter-share-button"&gt;Tweet&lt;/a&gt; &nbsp;</p> <pre> &lt;script language="javascript" type="text/javascript"&gt; !function(d, s, id) {<br /> var js, fjs = d.getElementsByTagName(s)[0];<br /> if (!d.getElementById(id)) {<br /> js = d.createElement(s);<br /> = id; js.src = "//";<br /> fjs.parentNode.insertBefore(js, fjs); <br /> } } (document, "script", "twitter-wjs");&lt;/script&gt;</pre> <pre>&nbsp;</pre> <pre>I have done URL Routing:</pre> <pre> System.Web.Routing.RouteTable.Routes.MapPageRoute("View Catalogues", "Colors/View Catalogues", "~/ViewCatalogues.aspx");</pre> <pre>&nbsp;</pre> <pre>Please suggest me what is the solution of this problem<br /> </pre> <pre class="brush: csharp">&nbsp;</pre> <p>&nbsp;</p>, 12 Dec 2012 04:08:41 GMTTwitter API ASP.Net not (working) posting to the tweet on the wall.<p>I have commented things which caused error as suggested by you&nbsp;</p> <p>Now no error persists but not posting as well</p> <pre class="brush: csharp"> &lt;configSections&gt; &lt;sectionGroup name=&#34;system.web.extensions&#34; type=&#34;System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34;&gt; &lt;sectionGroup name=&#34;scripting&#34; type=&#34;System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34;&gt; &lt;!--&lt;section name=&#34;scriptResourceHandler&#34; type=&#34;System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34; requirePermission=&#34;false&#34; allowDefinition=&#34;MachineToApplication&#34;/&gt;--&gt; &lt;sectionGroup name=&#34;webServices&#34; type=&#34;System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34;&gt; &lt;!--&lt;section name=&#34;jsonSerialization&#34; type=&#34;System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34; requirePermission=&#34;false&#34; allowDefinition=&#34;Everywhere&#34;/&gt;--&gt; &lt;!--&lt;section name=&#34;profileService&#34; type=&#34;System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34; requirePermission=&#34;false&#34; allowDefinition=&#34;MachineToApplication&#34;/&gt;--&gt; &lt;!--&lt;section name=&#34;authenticationService&#34; type=&#34;System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34; requirePermission=&#34;false&#34; allowDefinition=&#34;MachineToApplication&#34;/&gt; &lt;section name=&#34;roleService&#34; type=&#34;System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34; requirePermission=&#34;false&#34; allowDefinition=&#34;MachineToApplication&#34;/&gt;--&gt; &lt;/sectionGroup&gt; &lt;/sectionGroup&gt; &lt;/sectionGroup&gt; &lt;/configSections&gt;</pre> <p>&nbsp;</p>, 05 Mar 2015 09:26:18 GMTTranslate TextBox Text using Google Translate API in ASP.Net<div>Respected Sir,<br clear="all" />I want use Google API to Translate&nbsp; the English to Marathi and vice-versa.</div> <p>this below code successfully run .but i want to the use a&nbsp; TextBox control to</p> <pre class="brush: html"> &lt;textarea id=&#34;transliterateTextarea&#34; style=&#34;width:600px;height:100px&#34;&gt;&lt;/textarea&gt;</pre> <p>replce the this code like wise</p> <pre class="brush: html">&lt;asp:TextBox ID=&#34;transliterateTextarea&#34; runat=&#34;server&#34;&gt;&lt;/asp:TextBox&gt;</pre> <p>&nbsp;Please help me</p> <pre class="brush: html">&lt;%@ Page Language="C#" AutoEventWireup="true" CodeBehind="googleAPI.aspx.cs" Inherits="WebApplication1.googleAPI" %&gt; &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"/&gt; &lt;script type="text/javascript" src=""&gt; &lt;/script&gt; &lt;%--&lt;script type="text/javascript"&gt;--%&gt; &lt;%--&lt;script type="text/javascript" src="google.js"&gt;&lt;/script&gt;--%&gt; &lt;%-- &lt;/script&gt;--%&gt; &lt;script type="text/javascript"&gt; // Load the Google Transliterate API google.load("elements", "1", { packages: "transliteration" }); function onLoad() { var options = { sourceLanguage: google.elements.transliteration.LanguageCode.ENGLISH, destinationLanguage: [google.elements.transliteration.LanguageCode.MARATHI], shortcutKey: 'ctrl+e', transliterationEnabled: true }; // Create an instance on TransliterationControl with the required // options. var control = new google.elements.transliteration.TransliterationControl(options); // Enable transliteration in the textbox with id // 'transliterateTextarea'. control.makeTransliteratable(['transliterateTextarea']); } google.setOnLoadCallback(onLoad); &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;span&gt; English to Marathi&lt;/span&gt;&lt;br&gt; &lt;textarea id=&#34;transliterateTextarea&#34; style=&#34;width:600px;height:100px&#34;&gt;&lt;/textarea&gt; &lt;/body&gt; &lt;/html&gt; </pre>, 17 Apr 2014 08:42:15 GMTTracking .aspx Page via Google Search<p>Sir,<br /><br />&nbsp;&nbsp;&nbsp; As given a url <a title="Journal Display Sample Page" href=";JournalID=18" target="_blank">;JournalID=18</a>,</p> <p>It shows the <strong>current Journal name</strong>, <strong>picture</strong>, <strong>Website</strong>, <strong>ISSN Print</strong> and <strong>ISSN Online</strong>.<br /><br />As you see that <strong>Website</strong> title with a url as <em><strong></strong></em>. <br /><br />There are no.of Journals and every Journal would have a website url with it.<br /><br />Now could it be possible that if someone copy the Website url for any journal&nbsp; (eg: <em><strong></strong></em>) and <span style="text-decoration: underline;">paste it on the Google's Search Page</span> and searches for it, then <span style="text-decoration: underline;">Google should display the link for this page</span> in search results as (<a title="Journal Display Sample Page" href=";JournalID=18" target="_blank">;JournalID=18</a>) ???</p> <p>Would it be possible programmatically?? </p> <p>&nbsp;</p>, 01 Aug 2013 02:28:22 GMT