{"action":"created","issue":{"url":"https://api.github.com/repos/prodeveloper/social-share/issues/10","repository_url":"https://api.github.com/repos/prodeveloper/social-share","labels_url":"https://api.github.com/repos/prodeveloper/social-share/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/prodeveloper/social-share/issues/10/comments","events_url":"https://api.github.com/repos/prodeveloper/social-share/issues/10/events","html_url":"https://github.com/prodeveloper/social-share/issues/10","id":153799531,"number":10,"title":"Facebook link not well formatted","user":{"login":"webpixels","id":7113478,"avatar_url":"https://avatars.githubusercontent.com/u/7113478?v=3","gravatar_id":"","url":"https://api.github.com/users/webpixels","html_url":"https://github.com/webpixels","followers_url":"https://api.github.com/users/webpixels/followers","following_url":"https://api.github.com/users/webpixels/following{/other_user}","gists_url":"https://api.github.com/users/webpixels/gists{/gist_id}","starred_url":"https://api.github.com/users/webpixels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webpixels/subscriptions","organizations_url":"https://api.github.com/users/webpixels/orgs","repos_url":"https://api.github.com/users/webpixels/repos","events_url":"https://api.github.com/users/webpixels/events{/privacy}","received_events_url":"https://api.github.com/users/webpixels/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-09T15:11:47Z","updated_at":"2016-05-09T21:05:24Z","closed_at":null,"body":"Hi,\r\n\r\nI am trying to use your package in order to create a Facebook share button, but it seems that the link is not well formatted. Perhaps Facebook changed some of the previous functionalities. I tried with other services, like twitter, and it works fine. Could you take a look and see if there is a quick solution for this issue? \r\n\r\nBest regards!\r\n"},"comment":{"url":"https://api.github.com/repos/prodeveloper/social-share/issues/comments/217989573","html_url":"https://github.com/prodeveloper/social-share/issues/10#issuecomment-217989573","issue_url":"https://api.github.com/repos/prodeveloper/social-share/issues/10","id":217989573,"user":{"login":"webpixels","id":7113478,"avatar_url":"https://avatars.githubusercontent.com/u/7113478?v=3","gravatar_id":"","url":"https://api.github.com/users/webpixels","html_url":"https://github.com/webpixels","followers_url":"https://api.github.com/users/webpixels/followers","following_url":"https://api.github.com/users/webpixels/following{/other_user}","gists_url":"https://api.github.com/users/webpixels/gists{/gist_id}","starred_url":"https://api.github.com/users/webpixels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webpixels/subscriptions","organizations_url":"https://api.github.com/users/webpixels/orgs","repos_url":"https://api.github.com/users/webpixels/repos","events_url":"https://api.github.com/users/webpixels/events{/privacy}","received_events_url":"https://api.github.com/users/webpixels/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T21:05:24Z","updated_at":"2016-05-09T21:05:24Z","body":"Thanks for your quick reply :)\r\n\r\nThis is in my controller: \r\n\r\n`$share_link = Share::load('http://'.env('WEBSITE_URL').'/members/'.$user->id)->facebook();`\r\n\r\nThis is the resulted string:\r\n\r\n`https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fhttp%3A%2F%2Fwpx-site.dev%2Fmembers%2F1125`\r\n\r\nAs I said in my previous message, it works fine with Twitter. But not with Facebook. Facebook redirected to this URL:\r\n\r\n`https://www.facebook.com/dialog/return/close?error_code=100&error_message=href+is+not+properly+formatted#_=_`\r\n\r\nNo error message given, but as I see it is a problem with the URL format. \r\n\r\n`error_message=href+is+not+properly+formatted#_=_``\r\n\r\nDo you have any idea why?\r\n\r\nThanks for your time! :)\r\n"}}