Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 6    Views: 164

sanamionline
Aspiring developer
Profile
Posts: 61
Reg: Jul 22, 2012
Yulin, Guangxi
3,510
02/16/13 12:28 AM (12 years ago)

Invisible Facebook/Twitter plugin

Does anyone know how the invisible Facebook/Twitter plugins work? This is what I did: 1. Installed plugin as a screen 2. Added plugin to menu screen 3. Added text, image URL, (no on server image), and URL in plugin control panel Exported code Opened in xCode checked deployment target in project and target to be 6.1 Undefined symbols for architecture i386: "_OBJC_CLASS_$_SLComposeViewController", referenced from: objc-class-ref in Tm_invisiblefacebook.o objc-class-ref in Tm_invisibletwitter.o "_SLServiceTypeFacebook", referenced from: -[Tm_invisiblefacebook performInvisibleActionWithVC:] in Tm_invisiblefacebook.o "_SLServiceTypeTwitter", referenced from: -[Tm_invisibletwitter performInvisibleActionWithVC:] in Tm_invisibletwitter.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
02/16/13 01:42 AM (12 years ago)
did you add the social framework? i believe you are missing it.
 
sanamionline
Aspiring developer
Profile
Posts: 61
Reg: Jul 22, 2012
Yulin, Guangxi
3,510
like
02/16/13 06:23 AM (12 years ago)
Ah that's it! thanks When I add a URL to invisible Twitter pluggin the URL doesn't show up in the simulator but a URL shows up for the Facebook plugin. Shouldn't there be a URL in there if you added one?
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
02/16/13 06:48 AM (12 years ago)
The URL will appear on the twitter wall
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
02/16/13 06:49 AM (12 years ago)
It doesn't show, it treats it like an attachment so it doesn't effect the number of characters used
 
sanamionline
Aspiring developer
Profile
Posts: 61
Reg: Jul 22, 2012
Yulin, Guangxi
3,510
like
02/16/13 07:49 AM (12 years ago)
Nice, very well done. Giving my rating now before I forget
 
Natasha
Aspiring developer
Profile
Posts: 33
Reg: Mar 02, 2013
Melbourne
3,080
like
06/02/13 01:31 AM (12 years ago)
Hello, I've just installed the Invisible Facebook/Twitter plugins and can't get them to come up on my device. I've: - added the plugins to a Button Menu - exported to xcode - ensured deployment target is 6.0 - added social.framework When I run it on the simulator and click one of the buttons on the Buttons Menu, both plugins work perfectly, (although a "No Facebook Account" or "No Twitter Accounts" screen pops up as well, but that's obviously because I'm just running it on the simulator). However, when I run it on the device and then go to click either the Facebook or Twitter buttons, neither plugin works. All it does is slide over to a blank screen and then immediately return back to the Menu Button screen. Is there another step I'm missing to make this work properly? Thank you.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.