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 GMTTrace customer name and location using mobile number in ASP.Net<div>Respected&nbsp; Sir,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; how to trace&nbsp; customer name and&nbsp; customer&nbsp; location(state and&nbsp;&nbsp; city) by mobile number using</div> <div>Thank you in advance .</div>, 30 Sep 2014 01:04:32 GMTSolved FaceBook Invalid redirecturi: Given URL is not allowed by the Application configuration.<p>Everything is running successfully (Last login in app 07/01/2014), now try and get the error:</p> <p>&nbsp;</p> <pre>{ "error": { "message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration.", "type": "OAuthException", "code": 191 } }</pre> <pre>&nbsp;</pre> <pre>On nothing has changed!</pre> <pre>Does anyone have similar problems?</pre> <pre>I see facebook has changed the app panel :(</pre>, 03 Feb 2014 06:17:18 GMTSingle sign on using facebook<p>Hi,</p> <p>&nbsp;</p> <p>Based on Mudassar Ahmed Khans post(Single Sign on using Facebook), In my application I added the single sign on functionalty using FaceBook.</p> <p>But it only shows the userid, email profile photo , id etc.</p> <p>My need is, after getting the credentials the suser should also be logged in to my application.</p> <p>For that i need the password also.</p> <p>&nbsp;</p> <p>If the user is new to my application, i should register the user to my application as well.</p> <p>I am inluding the login button click event handler which In which I added code for my registration/sign in&nbsp;</p> <p>&nbsp;</p> <p>#region Login-Facebook<br /> protected void Login(object sender, EventArgs e)<br /> {<br /> FaceBookConnect.Authorize("user_photos,email", Request.Url.AbsoluteUri.Split('?')[0]);<br /> Access _access = new Access();<br /> List&lt;CheckEmail_Result&gt; list = _access.CheckDuplicate(lblEmail.Text);<br /> if (list.Count() &gt; 0)<br /> {</p> <p>//here i want the user to be automatically signed in by setting some session variables for the user id, email id which i receive from facebook</p> <p>}<br /> else<br /> {</p> <p>// this means, the user is new to my application, so i need to register him.</p> <p>// for this i need password.<br /> MemberDAL mDAL = new MemberDAL();<br /> bool active = true;<br /> int id = mDAL.InsertMember(lblEmail.Text, txtPassword1.Text, active, txtReferrer.Text);</p> <p>//rest of the code for setting session variables goes here....</p> <p>.............<br /> }<br /> }</p> <p>#endregion</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>Please help to achieve this.</p> <p>&nbsp;</p> <p>Regards</p> <p>&nbsp;</p> <p>Bhavana Retheesh</p>, 23 Nov 2013 23:31:41 GMTSingle sign in facebook URL Error<p>I successfully added the single sign in frm facebook in my application.</p> <p>&nbsp;</p> <p>But there is an issue now.</p> <p>In facebook when I created the application I added the url as:</p> <p></p> <p>Because</p> <p>when I access typing &nbsp;</p> <p>&nbsp;</p> <p>it gives invalid url error</p> <p>&nbsp;</p> <p>how to solve this issue to use both with www and without www in url</p>, 25 Nov 2013 01:52:46 GMTShow multiple locations on the Google Maps in my ASP.Net website<p>&nbsp;</p> <pre class="brush: csharp"> &lt;iframe width=&#34;600&#34; height=&#34;450&#34; frameborder=&#34;0&#34; style=&#34;border: 0&#34; src=&#34; key=AIzaSyCO23izPUXDnPnjR0g788vmpIC8__nI0Es&amp;q=Space+Needle,Seattle+WA&#34; allowfullscreen&gt;&lt;/iframe&gt; AND &lt;iframe width=&#34;600&#34; height=&#34;400&#34; frameborder=&#34;0&#34; scrolling=&#34;no&#34; marginheight=&#34;0&#34; marginwidth=&#34;0&#34; src=&#34;!1m18!1m12!1m3!1d3672.08496151105!2d72.5601719145458!3d23.020652484954045!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x395e85024839503b%3A0x286a85e8134927d6!2sVeritas+Insurance+Pvt.+Ltd.!5e0!3m2!1sen!2sin!4v1518599659878&amp;amp;output=embed&#34;&gt;&lt;/iframe&gt; </pre> <p>Hello, I have to create one webpage which contains location with checkbox and i want to display selected location into map.</p> <p>I want to show multiple location on the google map in my website.</p> <p>I want to display all location which is selected by checkbox.</p> <p>I am trying Uploaded code for that but it shows only one point.</p> <p>What can i do.please suggest.</p> <p>Thanks.</p>, 18 Mar 2018 23:54:07 GMTShow google map with markers and list the address in ListView in ASP.Net<p>Hi,</p> <p>I have a scenario where, when user searches for a particular program a list of possible programs should be&nbsp; displayed from database and show&nbsp; it on google map with google markers depicting those addresses.I have acheived it successfull with the help of your answer <a href="">ASP.Net: Populate Google Maps V3 with Multiple Markers using Address Latitude and Longitude values stored in database</a></p> <p>Now my question is how can we display those markers with numbers and show the address corresponding to that number in listview.</p> <p>For Reference</p> <p>Webiste :</p> <p>Type <strong>baketball</strong> in the field QuickSearch and click the search button</p> <p>&nbsp;</p>, 11 Apr 2013 00:49:25 GMTShow direction Arrow on Routes in Google Maps V3<p>Hi,</p> <p>I have per minute Lat-Lang values of user and using it i want to draw a Route on Google Maps with arrow to show direction after some distance.</p> <p>I am using <a href="" target="_blank">this tutorial</a>&nbsp;for refrence but unable to modify the same.</p> <p>Kindly Guide me.</p>, 26 Sep 2014 03:08:29 GMTShare TextBox Text on Facebook in ASP.Net<p>Sir,</p> <p>&nbsp;</p> <ul> <li>having 4 radio buttons, a mutiline textbox and button on page.</li> <li>all radio button getting values from database</li> </ul> <ul> <li>all radiobutton having same group name.</li> </ul> <ul> <li>I want if user selects any radiobutton and write something on textbox , then clicks on button should get posted on facebook.</li> </ul> <p>any suggetion..</p>, 09 Dec 2013 03:57:22 GMTShare text and images on Google Plus using C#<p>I want to share text and images on Google Plus using C# application.</p>, 26 Aug 2014 02:48:49 GMTShare text and images on Google Plus in ASP.Net<p>Hello Sir/Mam,</p> <p>I want to share text and images on Google Plus using C# application. I have alredy implemented this &nbsp;for &nbsp;Facebook wall Post and Twitter Twitt using your refrance code.</p> <p>Please do help full. (I am using 3- tire architeture (C# ASP.NET) for implementing website )</p> <p>Thanks and Regards</p> <p>Amol Salunke</p> <p>+91 88051019910&nbsp;</p>, 11 Dec 2013 22:40:45 GMT