Error Http Status Code 403 Facebook
Contents |
here for a quick overview of the site Help
Http Status 403 Forbidden Error When Trying To Access Webservice
Center Detailed answers to any questions you might have http status code 403 ps3 Meta Discuss the workings and policies of this site About Us Learn more about Stack
Http Status 403 Tomcat
Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask http status 403 - access is denied Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Getting Error: HTTP status code: 403 when trying to post to facebook friends wall up http status 403 - access to the requested resource has been denied tomcat vote 0 down vote favorite Here's my code: NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys: appId, @"app_id", link, @"link", picture, @"picture", NSLocalizedString(@"_findFriends_inviteFriend_title", @""), @"name", NSLocalizedString(@"_findFriends_inviteFriend_description", @""), @"description", NSLocalizedString(@"_findFriends_inviteFriend_message", @""), @"message", nil]; NSString * graphPath = [NSString stringWithFormat:@"%@/feed", friendId]; PF_FBRequest * request = [[PF_FBRequest alloc] initWithSession:[PFFacebookUtils session] graphPath:graphPath parameters:params HTTPMethod:@"POST"]; PF_FBRequestConnection *newConnection = [[PF_FBRequestConnection alloc] init]; [newConnection addRequest:request completionHandler:nil]; [newConnection start]; Before doing that I check if user's got the permissions: if ([PF_FBSession.activeSession.permissions indexOfObject:@"publish_stream"] == NSNotFound) { [PFFacebookUtils reauthorizeUser:[PFUser currentUser] withPublishPermissions:@[@"publish_stream"] audience:PF_FBSessionDefaultAudienceFriends block:^(BOOL succeeded, NSError *error) { if (succeeded) { [self postOnWall:indexPath]; } else{ // } }]; return; } [self postOnWall:indexPath]; Problem is I get Error: HTTP status code: 403 cocoa-touch facebook-graph-api share|improve this question asked Feb 22 '13 at 16:55 Lucas 5,44431336 possible duplicate of Posting to friends' wall with Graph API via 'feed' connection failing since Feb 6th 20
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack
Http Status 403 - Expected Csrf Token Not Found. Has Your Session Expired
Overflow the company Business Learn more about hiring developers or posting ads with us http status 403 - access to the requested resource has been denied jboss Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a
Http Status 403 Apache Tomcat
community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Facebook links to my site resolve as 403 forbidden up vote 4 down vote favorite http://stackoverflow.com/questions/15029288/getting-error-http-status-code-403-when-trying-to-post-to-facebook-friends-wal Hi I'm experiencing a super weird problem. Whenever I post links to my website on Facebook, they come up as Forbidden. The site itself works great and I have no seen this when linking on other sites. Could this be a server misconfiguration? Any thoughts on where to look? here's some Info: I have a dedicated server running WHM 11.25.0 i have 2 sites hosted here using cPanel 11.25.0 the error http://stackoverflow.com/questions/2925620/facebook-links-to-my-site-resolve-as-403-forbidden msg: Forbidden You don't have permission to access /blog/deepwater-horizon-11/ on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.offshoreinjuries.com Port 80
UPDATE: Here is a sample link if it helps. (notice going the linked page directly works fine) http://www.facebook.com/l.php?u=http%3A%2F%2Fwww.offshoreinjuries.com%2Fblog%2Fdeepwater-horizon-11%2F&h=834ea UPDATE and ANSWER: Found the issue and added a complete answer below. facebook http-status-code-403 mod-security share|improve this question edited May 30 '10 at 18:03 asked May 27 '10 at 23:00 filip 96131018 It's hard to see unless you give us the links. Though posting your facebook link here probably isn't a good idea. –DMan May 27 '10 at 23:02 Thanks DMan, I added a link to my post. It fails as it comes through facebooks "Be Careful!" page(you may need to be logged out of FB to see it), however the link works fine when accessed directly or when linked on any other site. –filip May 28 '10 at 1:15 you have posted the broken link, and what is the proper? offshoreinjuries.com/blog/deepwater-horizon-11 doesn't work neither from facebook nor directly –zerkms May 28 '10 at 3:30 @zerkms yes the link you postrequest, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. It is accessing a http://100pulse.com/http-statuscode/403.jsp URL for which you don't have permission. Why it Comes The Web server (running the Web site) thinks that the HTTP data stream sent by the client (e.g. your Web browser or our CheckUpDown robot) was correct, but access to the resource identified by the URL is forbidden for some reason. The server understood the request, but is refusing to fulfill http status it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. If the server does not wish to make this information available to the client, the status code http status 403 404 (Not Found) can be used instead. Fixing 403 Error Code If the address that you tried to access only contains a domain name (e.g. www.example.com) or ends with a slash (/) then you will receive a HTTP 403 error when the server is configured not to allow directory "folder" listings. Such configuration is common because it allows the site to force you to navigate through it using links in approved web pages, and also allows it to hide files in those directories that may only exist for internal use. If you are monitor your website through 100pulse, we will intimate whenever you encounter 403 status code error through e-mail or Short message service. Features Website Monitoring Monitor DNS Server Mail Server Monitoring Mysql Server Monitoring FTP Monitoring Port Monitoring Alerts & Reports Instant Notification Web Server Monitoring Report Public Report Template Free Uptime Button Monitoring Tools Webpage Availability Checker Port checker DNS Checker IP Finder Server location Finder and more... Reseller Affiliate Program Pricing Latest Updates Feedback Write a testimonial About Us Contact Us Follow Us on Twitter Facebook Serv