About MeIntegrating BlogEngineTweet Old Post
in Development - 17 Jan, 2014
by Ajay Matharu - 2 comments

Tweet Old Post permission issue

Lot of people are not able to access the tweet old post and buffer my post admin page. If you are not able to see the admin page and you are admin of the site try this fix.


“You do not have enough permission to set the option. Please contact your admin”


Login to wordpress -> Go to Plugins -> Editor -> Select Tweet Old Post on right top, in Select plugin to edit.
Plugin Editor

Plugin Editor

Edit Plugin

Edit Plugin Tweet Old Post

Click on top_admin.php on the right and make the below change

 if (current_user_can(‘edit_plugins’))


if (current_user_can(‘activate_plugins’))


Let me know if that solved the problem.


in .Net - 30 Dec, 2013
by Ajay Matharu - no comments

Recently we were using HttpWebRequest. Things were working fine until we bumped into, “The Operation has timed out”.


 The operation has timed out

It was running perfectly fine but all of a sudden it stopped working. Later we identified that the request URL was HTTPS. We just changed HTTPS to HTTP and the code worked again. But changing HTTPS to HTTP is not the solution. It is a quick fix.

The site with HTTPS was working in the browser. We got all the responses from the browser. However, We get this error with HttpWebRequest. HttpWebRequest worked with Http URL but not with HTTPS.

Later we started to look into the problem. We made sure our firewall was configured correctly. We contacted the third party guys they said they are not getting the request with HTTPS. It was clear there is some problem. We figured out that HttpWebRequest got stuck at a stage where it’s supposed to send back a client key exchange which it didn’t.


Then we forced HttpWebRequest to use SSL3 instead of TLS. Although TLS automatically turns into SSL3 but it din’t happen. So the fix to the problem was

ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3;

 Just place the above line before calling GetResponse() and that was it.

To read more about ServicePointManager - http://msdn.microsoft.com/en-us/library/system.net.servicepointmanager.securityprotocol(v=vs.110).aspx