URL for compose Facebook Message (new layout) - facebook

I've use following URL to send message with prefill text.
http://www.facebook.com/messages/[user]?msg_prefill=[message]
ex. http://www.facebook.com/messages/facebook?msg_prefill=hello
But msg_prefill parameter seem to be depreciated on new Facebook Message layout.
http://mashable.com/2012/08/22/facebook-revamps-messages-to-look-more-like-email/
Does anyone know how to add prefill message for new layout?

I still can't send message with prefill text. But I've found another way to send link using Send Dialog.
https://developers.facebook.com/docs/reference/dialogs/send/
ex. 1
https://www.facebook.com/dialog/send?app_id=123050457758183&to=zuck&name=Hello&link=http://www.google.com/&redirect_uri=http://www.facebook.com/
However this may not working for some people (including me) as using some domains in "link" parameter cause error as this bug.
http://developers.facebook.com/bugs/284149695026014?browse=search_509788e98cb627971133933
ex. 2
https://www.facebook.com/dialog/send?app_id=123050457758183&name=People+Argue+Just+to+Win&link=http%3A%2F%2Fwww.facebook.com%2FCili.Pica%2Fapp_469715143040257&redirect_uri=http%3A%2F%2Fwww.example.com%2Fresponse
Also, Send Dialog links can't use on iPhone apps, Android apps and mobile version of facebook.
ex. 3
https://m.facebook.com/dialog/send?app_id=123050457758183&to=zuck&name=Hello&link=http://www.google.com/&redirect_uri=http://www.facebook.com/

Related

How to send a Facebook page as url using the Facebook send button?

I will try to explain a bit the context for my problem.
Context:
A while ago I started working on Facebook application. One of the requirements is to be included in a Facebook page as a tab. This application will contain on a page a send button in order to be able to make it more engaging with specific people, users of the application would choose on their own. The reason behind this is because the Facebook page containing the application is related to alcohol, and "liking" the application will get more audition and potential children. Another reason for using send button rather then other similar options from Facebook (like send dialog etc.) is because in Facebook documentation was stated that send button works on mobile devices and other options don't.
Problem:
My problem is related to the send button. What I need is to be able to completely configure the send button: url, image, title, description. I have research the open graph tags in order to be able to do this. Everything works fine if the page I want to be sent with the message is a website OUTSIDE Facebook. Once I started to use the url of a Facebook page (let's call it www.facebook.com/mycustompage), then the crawler takes the images, title, description from facebook.com ignoring the actual page and the produced message is not what I want.
I have searched a lot to better understand this limitation and could not find anything relevant.
The only article I could find as a potential solution was (and even this I had trouble finding):
Send button returning error codes, like button works fine
The above discussion is a workaround which I have already put in place but is not 100% what I want. The described workaround is about putting in the send button:
<div class="fb-send" data-href="http://www.mycustomdomain.com/og"></div>
a page that sniffs the user agent. In case the user agent is Facebook crawler to serve an html empty page just with the open graph tags, otherwise redirect to the desired URL - which in our case is the facebook page www.facebook.com/mycustompage.
The message produced contains:
the title which is a link to www.mycustomdomain.com/og which when
clicked opens a page in a new tab with the address
www.facebook.com/mycustompage - this is relatively ok
under the title I have a "sub-title" readonly text containing the domain of the link: www.mycustomdomain.com - THIS IS NOT OK since I don't want to share where I have hosted the application.
the image and the desired description - this is ok.
Conclusion:
What I want to know if there is a better way to do this rather than this workaround.
If not I would like to know how I can hide for the produced message the "sub-title" so that the hosted domain is not visible.

Link to Send a Message on FB Mobile?

My page tab app includes a link to send a message directly to the owner of the page. The same app is also available via OG links and canvas. The send message link works on desktop fine, but when in a mobile phone I would like it to display the mobile version of the send message dialog.
The link:
https://www.facebook.com/messages/USER_ID
Will open a send message dialog in Facebook desktop version.
Is there an equivalent for mobile? (ie: https://m.facebook.com/...) ?
https://m.facebook.com/messages/compose?ids=USER_ID
You can specify more than one user_id , using comma to separate them
If you want a shorter version, you can also try it with this format: https://m.me/PAGENAME
Tested with an iphone and it was working fine. You may need a username associated with the page.
you can also use this with the public id and it will redirect you to the conversation view :)
https://m.facebook.com/messages/thread/* FB ID here */
In my case, PAGENAME need to be cut name of your page and only input numbers.
ex) your page link address
https://www.facebook.com/test-12345
↓
https://m.me/12345

How we can change facebook apprequest messages

Is there any way to customize apprequest message of facebook?
e.g. if a person sends request to his friend then default message comes "Shahid sent you a request in FarmVille"
here Shahid is username and FarmVille is an app name.
screenshot is given below
screenshot http://www.ogilvyapplications.com/temp/apprequest.jpg
You can only customise the message for where it appears in the Games and Apps dashboard, the notification in the dropdown will always have that default text. See the Requests docs for more information.
you can see in the screenshot above that the text CAN be edited. it almost always is "... sent you a request in ..." but there are some different ones, like "... wants to include you as a professional connection in ..."
i still didnt find out how to change it though
maybe you need to add "verbs" to your apps (in this case - "include" you as a "professional connection", or something like that) and thats the only way to change the text?

Opening HTML form attachments in iOS5

I have received an email on my iPhone (with iOS 5.0.1) with an HTML attachment. The HTML attachment contains a form to fill out and submit. The problem is that submitting the form does not work. I click the Submit button and I get switched Safari, but the form information is not posted. Instead, the URL indicated by the form gets requested as via the GET method.
Is the problem that the Quick Look viewer is simply a passive viewer that does not do forms? I'd like to be able to open the attachment in Safari instead, but that does not appear to be an option. If a tap and hold the attachment, the only options I get are Quick Look and Dropbox.
Thanks!
After much research I've decided it simply does not work. Probably by design as a sort of security feature. I discovered a similar problem with Android phones.

Facebook Send Dialog fails to send links to Facebook itself -- why?

I'm trying to use Facebook Send Dialog in a WinForms frame with a browser control and direct URI (you can repro just by clicking the links below). It works fine with link=http://www.foo.com, sending the message properly if you enter a message and click "Send":
http://www.facebook.com/dialog/send?app_id=179873125388138&link=http://www.foo.com&redirect_uri=http://jonnewman.com/&display=popup&to=100002395463043
However, this fails with link=http://www.facebook.com or any path under it. Clicking "Send" just gets you "Sorry, something went wrong. We're working on getting this fixed as soon as we can.":
http://www.facebook.com/dialog/send?app_id=179873125388138&link=http://www.facebook.com&redirect_uri=http://jonnewman.com/&display=popup&to=100002395463043
The aim is to write a script to make it easier to send messages asking all users in a particular group to a page (prepopulating the recipient list). Since Facebook has restricted groups larger than 500 members, our organization has to move to a Facebook Page, and I want the Send Dialog to link the new Facebook Page. Why won't this work? Is there a workaround? Are there other criteria for what links Send Dialog will and won't send?
Also, is there a way I can determine whether the send occurred or not, for example an event to catch? Whether you send or cancel, the Navigated event is still redirect_uri/#_=_.
Once I have Send Dialog working, I will add Show-FBSendDialog to Facebook PowerShell Module, which already has numerous capabilities to automate Facebook from PowerShell.
ran some tests and it seems it is blocking any fb domain http://on.fb.me/91S2P8, sometimes this is temporary otherwise need to rethink...
I see your second link isn't working... but if you add your company page id or name to link it should work. following link works for me:
https://www.facebook.com/dialog/send?app_id=179873125388138&link=http://www.facebook.com/Intel&redirect_uri=http%3A%2F%2Fjonnewman.com%2F&display=popup&to=100002395463043
hope this helps
I got solution. I also had same problem. No post helped me. Solving error for 2 days.
There were posibility of two mistakes(that was done by me).
Link Parameter given in url should be working. I have linked to api namespace but not given SSL url. So it was giving problem. You can given your web site address.
And redirect_uri parameter should be working. Try to give redirect_uri to same page most probably.