26
Jan/11
0

Facebook Pages: Customized content for fans

Facebook provides FBML that allows you to serve content to fans by using fb:visible-to-connection

The issue with this solution is that there is no solid way of serving content to non fans. If you have noticed around facebook more and more Pages are serving content specifically asking fans to fan the page before retrieving the content. Like these following examples:

Gap

Chase – note how there are multiple locations that become activated after liking

Microsoft

Solution
This has existed for a while now and currently it is about to becoming deprecated by facebook. Facebook understands the importance of this so it seems that even though new functionality is disabling its function, facebook will work to keep this feature:

$_POST['fb_sig_is_fan'];

This will return a true or false depending on the current viewers fan status. The only problem with this solution is that it will not work with OAuth enabled. You must go into your application’s Advanced settings and disable it.

Filed under: Randomness
24
Jan/11
1

Multiple developers on a single Xcode project

We ran into a rather large issue when dealing with multiple developers working on a single Xcode iPhone project.
Problem: When multiple developers add new files to the project conflicts can occur that cause building and execution errors.

Here is my solution:

Username.mode1v3
Username.pbxuser

It seems they arent necessary

Occasionally you will receive the following:

This means that the project.pbxproj file is conflicted (most likely someone committed additional files and now you’re trying to commit your additional files)

Step 1 – Update SCM:

Step 2 – Close project:
You may receive this prompt:

Click Close Project

Step 3 – Open project file
Go to the project and open the xcodeproj file

Step 4 – delete all the SVN versions that aren’t necessary

Step 5 – open and edit project.pbxproj
Once you open the file you’ll need to remove all the SVN comments in it then save the file.

Note: Be sure to find and remove all >>>>>>> .r17 there may be some with previous .rXX numbers

Step 6 – reopen project and go to SCM Results

On the other developers copy when they update from SCM they will receive the following:
Note: if you receive this message be SURE to know whether you had added anything or not via SCM Results. If you have NOT added anything then select Read from Disk

Xcode will reopen with the new file.

Filed under: Randomness
15
Dec/10
0

Testing new host HawkHost

testing

Filed under: Randomness