من هنا

تعليقك يهمنا

FB.ui({ method: 'feed', link: 'https://developers.facebook.com/docs/dialogs/', caption: 'An example caption', }, function(response){}); iOS SDK Read our full guide to using the Feed Dialog in iOS or you can read about our iOS Share Dialog which also allows you to publish Open Graph stories. NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys: @"An example parameter", @"description", @"https://developers.facebook.com/ios", @"link", nil]; [FBWebDialogs presentFeedDialogModallyWithSession:nil parameters:params handler:^(FBWebDialogResult result, NSURL *resultURL, NSError *error) {} ]; Android SDK Read our full guide to using the Feed Dialog in Android or you can read about our Android Share Dialog which also allows you to publish Open Graph stories. Bundle params = new Bundle(); params.putString("name", "An example parameter"); params.putString("link", "https://www.example.com/"); WebDialog feedDialog = ( new WebDialog.FeedDialogBuilder(getActivity(), Session.getActiveSession(), params)) .setOnCompleteListener(new OnCompleteListener(){}) .build(); feedDialog.show(); URL Redirection https://www.facebook.com/dialog/feed? app_id=145634995501895 &display=popup&caption=An%20example%20caption &link=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fdialogs%2F &redirect_uri=https://developers.facebook.com/tools/explorer Note If a person has the "Who can post on your timeline?" setting set to "Only me" and another person tries to make a post using the Feed dialog, it will display a "Cannot post" error. ParametersParameter Description app_id Your app's unique identifier. Required. redirect_uri The URL to redirect to after a person clicks a button on the dialog. Required when using URL redirection. display Determines how the dialog is rendered. If you are using the URL redirect dialog implementation, then this will be a full page display, shown within Facebook.com. This display type is called page. If you are using one of our iOS or Android SDKs to invoke the dialog, this is automatically specified and chooses an appropriate display type for the device. If you are using the JavaScript SDK, this will default to a modal iframe type for people logged into your app or async when using within a game on Facebook.com, and a popup window for everyone else. You can also force the popup or page types when using the JavaScript SDK, if necessary. Mobile web apps will always default to the touch display type. from The ID or username of the person posting the message. If this is unspecified, it defaults to the current person. If specified, it must be the ID of the person or of a page that the person administers. to The ID or username of the profile that this story will be published to. If this is unspecified, it defaults to the value of from. link The link attached to this post picture The URL of a picture attached to this post. The picture must be at least 200px by 200px. See our documentation on maximizing distribution for media content for more information on sizes. source The URL of a media file (either SWF or MP3) attached to this post. If both source and picture are specified, only source is used. name The name of the link attachment. caption The caption of the link (appears beneath the link name). If not specified, this field is automatically populated with the URL of the link. description The description of the link (appears beneath the link caption). If not specified, this field is automatically populated by information scraped from the link, typically the title of the page. properties A JSON object of key/value pairs which will appear in the stream attachment beneath the description, with each property on its own line. Keys must be strings, and values can be either strings or JSON objects with the keys text and href. actions A JSON array containing a single object describing the action link which will appear next to the 'Comment' and 'Like' link under posts. The contained object must have the keys name and link. ref A string (must be less than 50 characters and contain only alphanumeric or +/=-.:_ characters) reference for the category of feed post. This category is used in Facebook Insights to help you measure the performance of different types of post Response DataParameter Description post_id The ID of the posted story, if the person chose to publish. Share Dialog for Web Facebook offers an easy-to-use Share dialog for web that you can include on your web page or in your mobile web app so people can share links on their timeline, in groups, or to their friends via a Facebook Message. People open the Share dialog by clicking a link on your website, which opens a new window to a special URL on Facebook. Read more in our Share Dialog guide. ‎Properties‎ ‎Return Data‎ حُدث منذ ‏2‏ أسابيع Facebook © 2013 · العربية حولالإعلان‎Careers‎‎Platform Policies‎سياسة الخصوصية

تابعنا عالفيس بوك

AdsenseRealEstate Content Site Administration Area


Welcome to your content site admin area! Please use the links below to navigate your admin area. To view a tutorial on setting up your site, please Click Here. Click on Site Settings to get started.

Thursday, January 17, 2013

يوم امس

بعد يوم شاق عدت الي البيت كي ارتاح ولكن حبييبي النت شغلني واخذني عن النوم

No comments:

Post a Comment

كل تعليق يدل علي ري صاحبه