HttpHandlers / Modules :: How To Get Rid Of Facebook And Twitter Crawlers
Sep 20, 2010
My scenario is:
I have a website that shares some content and shows the number of times it has been shared. The sharing is done through facebook, twitter and e-mail.
Now, while sharing the content with facebook and twitter, the share count gets increased by some random number, sometimes 2 and sometimes upto 25-30. The reason I could find is that the bots and crawlers of facebook and twitter keeps on hitting the content being shared which increases my share count.
Is there a way to stop these bots and crawlers from hitting my website?
I have created a facebook application using FaceBook ToolKit for .Net, What I am trying to do is create a WebApp for FaceBook which allows users to tweet.
I have also read about twitterizer library, that allows ASP.Net to create Apps for Twitter but it comes with OAuth authentication where a user is redirected to Twitter.com.
What I am trying to do is once user has given permission the app will accept username and password for their twitter account and then using Twitterizer library it will post their tweets.
I'm having a articles directory web site and looking to integrate Login in with twitter and Facebook feature, web site has been developed in ASp.net, can someone provide me some guidance on how to implement it.
I tried to search around, but could not find anything for this question which must be wrong, because I would guess there were a lot of topics about it.
Anyway, I would like to load lists on my site in a similar style to Facebook and Twitter, where initially x records are loaded into the list, and then after the page has loaded the list expands downwards with more rows of content, or add a "more" button in the end. I am using ASP.NET with C#.
Just in general, where can I find the code to take a look at and learn from them? Or at least look at the functions available to me as I do get the feeling that the insufficient documentation at the moment reveals all.
With Twitter's new OAuth interface, their API is now many times more complex than what it was. And I haven't even looked at Facebook's API yet.
What I'm wondering if there is a method that employs some higher-level, existing code or interfaces to make this a simpler task.
All I want to be able to do is initiate a Twitter tweet or Facebook share on the user's behalf and be able to control the initial text of those messages, from an ASP.NET application.
I found some similar questions on SO, but they had no answers. EDIT: I know there are things like AddThis and ShareThis, but I need something that will give me control over the default message. It must contain a link with a code that is specific to the current user.
I want to implement authorization using social networks like twitter, facebook, Linked In. How can I authorized with all social networks into my asp.net C# web application.
If you could give me some guidelines It would mean a lot to me. what type of authentication I use, how to do id from localhost, how to modify web.config file etc
How do we findout the whether the application is using any HTTPModules and httphandler in the applicaion?Is there anyway to findout from the url without checking the web.config file?
I got a website [URL] and I want to redirect http://www.example.com/folder to http://folder.example.com so if folder has a page called example1.aspx [URL]
It should be called in this way:
http://folder.example.com/example1.aspx Is that possible that using IIS 7 and asp.net 4.
eg: Folder/StaticPage.aspx?PageName=TestPage is re-written as
Folder/TestPage
This works fine on my local dev. machine on the Cassini server. But when its hosted in IIS (5.1 & 7.0) it fails to work, with the error as 404 Page Not Found.
I am using Httphandler to access my pages. Have Loginstatus Control on the master pages.
OnLoggingOut for the Loginstatus control I am doing a Session.abandon()... But My session_end
does not get called in the Gobal.asax.I tried link button and everything. but when I take out the httphandler the Session_end gets executed in global.asax
I can handle the full session end on my own but is there any way to call Session_end in global.asax?