Results 1 to 1 of 1

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.

Thread: FB Connect Post To Wall, Contents OF

  1. #1
    Default FB Connect Post To Wall, Contents OF
    I have just been messing with FBConnect and have it setup with a church app that posts a general static come worship with us message to the Facebook wall using this code:
    - (void)postToWall {
    	FBStreamDialog *dialog = [[[FBStreamDialog alloc] init] autorelease];
    	dialog.userMessagePrompt = @"Enter Your Message Here:";
    	dialog.attachment = [NSString stringWithFormat:@"{"name":"Join me at Bell Avenue Church of Christ this Sunday Morning @ 9AM!  Click for more information!","href":"","caption":"We Love Our Visitors!","description":"1600 Bell Amarillo, TX","media":[{"type":"image","src":"","href":""}],"properties":{"Our Facebook Page!":{"text":"Bell Avenue Facebook Group","href":""}}}"];
    	[dialog show];
    That's fine for this instance where all I need is a static unchanging message. How can I set this up so that it posts a link to whatever is in a webview located within the view? I have a webview set up directed to a blog site. What I am interested in, is if they click an article, is there a way to tell the Post to Wall part of the code to post a link to whatever the webview is currently on?

    Anyone know

    Does anyone know how to do this?
    Last edited by spiderguy84; 2010-08-19 at 06:04 PM. Reason: Automerged Doublepost

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts