弊社のウェブサイトからメッセージを投稿する必要があります。私はこれを達成するために以下のコードを使用しています。
http://www.facebook.com/dialog/feed?app_id=123050457758183&source =www.google.com& link=www.google.com&picture=http://fbrell.com/f8.jpg& name=Facebook%20Dialogs& caption=Reference%20Documentation& description=Using%20Dialogs%20to%20interact%20with%20users& message=Facebook%20Dialogs%20are%20so%20easy!& redirect_uri=http://www.example.com/response
すべてがうまくいきます。私は、 "ここをクリックしてください - www.somesite.com"のようなURLを追加したいと思います。私は説明本体にhrefを入れようとしましたが、Facebookはそれをリンクとして認識しません。
私たちにはiOSとHTML5の両方のアプリケーションがあり、iOSではリンクを説明に入れることができます。なぜJavaScriptがこれをサポートしていないのか不思議に思っていました。
以下のコードはiOSでも同じです。
NSDictionary *propertyValue = [NSDictionary dictionaryWithObjectsAndKeys:@"[(www.somesite.com)]",@"text",@"http://www.somesite.com",@"href", nil];
NSDictionary *properties = [NSDictionary dictionaryWithObjectsAndKeys:propertyValue, @"For more information click here",nil];
これに対する解決策はありますか?